new Float:RandomSpawn[16][16] ={ {2493.6479,-1670.0148,13.3359}, {2749.2119,-2454.1301,13.8623}, {1954.7322,-2310.8711,13.5469}, {1763.8073,-1899.1036,13.5639}, {1545.4486,-1675.4491,13.5604}, {1128.6138,-1489.4126,22.7690}, {674.1230,-1247.4197,14.4398}, {642.4786,-1874.7336,4.5995}, {155.1981,-1942.0430,3.7734}, {662.2538,-1040.0642,52.5698}, {1499.6720,-699.2916,94.7500}, {1772.7777,-1054.1660,23.9609}, {2900.5596,-1131.5098,11.2180}, {2723.9792,-1851.2439,9.5720}, {1523.7938,-1235.5500,14.5074}, {783.4170,-1628.7098,13.3828}}; -------------------------------------------------------public OnPlayerSpawn(playerid){new rand = random(sizeof(RandomSpawn));SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]RandomSpawn[rand][3],RandomSpawn[rand][4],RandomSpawn[rand][5],RandomSpawn[rand][6],RandomSpawn[rand][7],RandomSpawn[rand][8],RandomSpawn[rand][9],RandomSpawn[rand][10],RandomSpawn[rand][11],RandomSpawn[rand][12],RandomSpawn[rand][13],RandomSpawn[rand][14],RandomSpawn[rand][15]);return 1;}
D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(78) : error 017: undefined symbol \"RandomSpawn\"D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(78) : error 029: invalid expression, assumed zeroD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(78) : warning 215: expression has no effectD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(79) : error 017: undefined symbol \"RandomSpawn\"D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(79) : warning 215: expression has no effectD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(79) : error 001: expected token: \";\", but found \"]\"D:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(79) : error 029: invalid expression, assumed zeroD:\\Program Files (x86)\\Rockstar Games\\GTA San Andreas\\szerver\\gamemodes\\CoD - Dm.pwn(79) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors.
RandomSpawn[16][3]
new Float:RandomSpawn[16][3] ={ {2493.6479,-1670.0148,13.3359}, {2749.2119,-2454.1301,13.8623}, {1954.7322,-2310.8711,13.5469}, {1763.8073,-1899.1036,13.5639}, {1545.4486,-1675.4491,13.5604}, {1128.6138,-1489.4126,22.7690}, {674.1230,-1247.4197,14.4398}, {642.4786,-1874.7336,4.5995}, {155.1981,-1942.0430,3.7734}, {662.2538,-1040.0642,52.5698}, {1499.6720,-699.2916,94.7500}, {1772.7777,-1054.1660,23.9609}, {2900.5596,-1131.5098,11.2180}, {2723.9792,-1851.2439,9.5720}, {1523.7938,-1235.5500,14.5074}, {783.4170,-1628.7098,13.3828}};public OnPlayerSpawn(playerid){new rand = random(sizeof(RandomSpawn));SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);return 1;}