05.04.2014, 09:45
Код:
//Player Spawns new Float:PlayerRandomSpawn[][5] = { {365.07, 2538.79, 18.98}, //Spawn Abandoned Airport {1389.27, -2430.39, 16.028}, //Spawn Los Santos Airport {1608.89, 1173.59, 14.22}, //Spawn Las Venturas Airport {-1243.30, 176.50, 16.63} //Spawn San Fierro Airport }; public OnPlayerSpawn(playerid) { new Random = random(sizeof(PlayerRandomSpawn)); SetPlayerPos(playerid, PlayerRandomSpawn[Random][0], PlayerRandomSpawn[Random][1], PlayerRandomSpawn[Random][2], PlayerRandomSpawn[Random][3], PlayerRandomSpawn[Random][4]); return 1; }
warning 202: number of arguments does not match definition