Question about SetSpawnInfo
#1

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
Reply
#2

Because it's not a valid weaponid to be given. Though, using 0 (fist) is the same thing.
Reply
#3

So, it doesn't matter if i put here 0 or -1?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)