31.10.2016, 02:08
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:
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(playerid, 0, pInfo[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]);