SA-MP Forums Archive
Simple cmd and wep 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)
+--- Thread: Simple cmd and wep system. (/showthread.php?tid=426204)



Simple cmd and wep system. - AwesomeBi3cute - 28.03.2013

Hello guys could you help me with 1 question? Can any1 explain me how to add a simple /givecash cmd from the 1st step like: (example) "1st-open pawno" , "2nd-write ..." .
And more 1 thing.... how to make a weapon system so every player that loggs into my serv could start with some weps.
Thankґs a lot for your attention!



Re: Simple cmd and wep system. - rbush12 - 28.03.2013

For the Weapons

AddPlayerClass(skin, Float, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

https://sampwiki.blast.hk/wiki/AddPlayerClass

That should go under OnGameModeInit