Question about SetSpawnInfo - 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: Question about SetSpawnInfo (
/showthread.php?tid=473570)
Question about SetSpawnInfo -
Riwerry - 03.11.2013
Hello guys, please can somebody tell me, why some people on command SetSpawnInfo are using weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo) with value -1? Example:
pawn Код:
SetSpawnInfo(playerid, 0, PouzivateloveInformacie [playerid] [pSkin], PouzivateloveInformacie [playerid] [pPolohaX], PouzivateloveInformacie [playerid] [pPolohaY], PouzivateloveInformacie [playerid] [pPolohaZ], 1.0, -1, -1, -1, -1, -1, -1);
Thanks alot
Re: Question about SetSpawnInfo -
Konstantinos - 03.11.2013
Because it's not a valid weaponid to be given. Though, using 0 (fist) is the same thing.
Re: Question about SetSpawnInfo -
Riwerry - 03.11.2013
So, it doesn't matter if i put here 0 or -1?