samdeath Posted May 15, 2008 Author Share Posted May 15, 2008 Its Basically just a simple buying script```Dim ItemItem = "Weapon"If Item = "Weapon" ThenItem = Item + "Armour"End IfSelect Case ItemCase 0If GetPlayerInvItemNum(index) = 1 ThenItem = "Buy" Call Playermsg("You Bought a " & GetTargetInvItemNum(index), 12)ElseItem = "Dont Buy"Call Playermsg("You Dont have enough " & GetPlayerInvItemNum(index) "To Buy That Item ", 12)End If```As you can see i used Buy and Dont buy because i dont know the commands for them, but if you put in the real command would his script work? If not please correct it and tell me what it would have to be to work thanks :) Also if its not possible for this script to be used to buy something could it be substituted for anything else? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now