SA-MP Forums Archive
wtf -1 does in AddPlayerClass function?ї? - 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: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: wtf -1 does in AddPlayerClass function?ї? (/showthread.php?tid=605631)



wtf -1 does in AddPlayerClass function?ї? - thaKing - 22.04.2016

Hi y'all!

Read below:


PHP Code:
AddPlayerClass(skinFloat:xFloat:yFloat:zFloat:Angleweapon1weapon1_ammoweapon2weapon2_ammoweapon3weapon3_ammo); 
PHP Code:
AddPlayerClass(99,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1); 
What -1 does if there should be wepID?

#Respect4TheHood

Peace ☮, runcis



Re: wtf -1 does in AddPlayerClass function?ї? - Lordzy - 22.04.2016

Quote:
Originally Posted by runcis
View Post
What -1 does if there should be wepID?
It doesn't give any weapons while such a class is spawned.


Re: wtf -1 does in AddPlayerClass function?ї? - thaKing - 22.04.2016

Quote:
Originally Posted by Lordzy
View Post
It doesn't give any weapons while such a class is spawned.
Peace man!