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(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_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
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
It doesn't give any weapons while such a class is spawned.
|
Peace man!