SA-MP Forums Archive
Drugs + Gun system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Drugs + Gun system (/showthread.php?tid=148024)



Drugs + Gun system - Ykelder - 15.05.2010

I was wondering if someone could help me with this?
(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4) are Gundealers
(classid == 5 || classid == 6 || classid == 7 || classid == 8 || classid == 9) are Drugsdealers

for gundealer: /sellgun [ID of the player] [gunname] [amount of bullets]
for drugsdealer: /selldrugs [ID of the player] [amount]

for drugs users: /usedrugs
wich give the player 100% hp and a effect on the screen for 10 seconds


Re: Drugs + Gun system - Zh3r0 - 15.05.2010

Use Variables


Re: Drugs + Gun system - Ykelder - 15.05.2010

I am new in scripting so :P I tried other systems but I get huge errors so If someone could try to make one like this I would appriciate that


Re: Drugs + Gun system - MWF2 - 15.05.2010

Search Lvrcr in the search bar, has a very good weapons and drug system.



Either look at it and make your own, or copy + paste.