ammunation gunlicense script
#4

You need to first create either an enumerator or the variable for the license and save it properly.
Then you proceed to create the /buygun command with if(GunLic[playerid] == 0) then not allow him to buy, but if he has then it opens a dialog.
You go to OnDialogResponse callback, make a swith-case or if, your choice.
If he clicks on the deagle, then it gives him deagle, etc.
Then you SendClientMessage(...you have bought a weapon);
You can read tutorials on how to make dialogs or check out filterscripts.
Reply


Messages In This Thread
ammunation gunlicense script - by JoshP - 11.07.2013, 19:08
Re: ammunation gunlicense script - by JoshP - 11.07.2013, 19:24
Re: ammunation gunlicense script - by JoshP - 11.07.2013, 19:49
Re: ammunation gunlicense script - by Darnell - 11.07.2013, 20:20
Re: ammunation gunlicense script - by OpticKiller - 11.07.2013, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)