ammunation gunlicense script
#1

ok is there a filterscript like this


walk into ammunation and do /buygun

but then it would say "u dont have a license"

so u would need to /buylicense which would cost 5000

then u can /buygun, a dialog pops up

select which gun u want, then another dialog pops up asking how many bullets u want

then it says "u have bought a gun"
Reply
#2

or how do i do it
Reply
#3

help iz neededdd
Reply
#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
#5

Quote:
Originally Posted by JoshP
Посмотреть сообщение
help iz neededdd
so much for bumping 2 times.


as what Darnell said follow that.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)