SetSpawnInfo
#2

Two dimensional array - you need to specify your choice
new array[x][y] = X;
array[x] = UNKNOWN;
You need to add [y] to your array.
Here is a fixed code:
PHP код:
new rand random(sizeof(HumanSpawns));
SetSpawnInfo(playerid0pInfo[playerid][pSkin], HumanSpawns[random][0], HumanSpawns[random][1], HumanSpawns[random][2], HumanSpawns[random][3], pInfo[playerid][pWeap1], pInfo[playerid][pAmmo1], pInfo[playerid][pWeap2], pInfo[playerid][pAmmo2], pInfo[playerid][pWeap3], pInfo[playerid][pAmmo3]); 
Reply


Messages In This Thread
SetSpawnInfo - by NealPeteros - 31.10.2016, 02:04
Re: SetSpawnInfo - by NeXoR - 31.10.2016, 02:08
Re: SetSpawnInfo - by NealPeteros - 31.10.2016, 02:18
Re: SetSpawnInfo - by NeXoR - 31.10.2016, 02:27

Forum Jump:


Users browsing this thread: 2 Guest(s)