13.06.2013, 12:31
I got some errors :/
pawn Code:
ThisOne.pwn(101) : error 001: expected token: ";", but found "{"
hisOne.pwn(108) : error 055: start of function body without function header
pawn Code:
new Float:Spawns[][4]
{//101
{-238.4964,2608.2761,62.7135,2.8976},
{-222.8692,2608.7708,62.7162,360.0000},
{-208.2713,2608.9612,62.7135,0.4203},
{-309.0230,2681.0723,62.6375,90.4226},
{-309.0230,2681.0723,62.6375,90.4226}//Base 1
{-1402.5712,2641.9802,55.6993,85.5085},//108
{-1453.7939,2654.7534,55.8459,2.3052},
{-1562.8668,2693.7920,55.7868,176.0593},
{-1514.3767,2535.9150,55.7019,357.5095},
{-1529.4465,2639.0063,55.8478,92.3112}//BASE 2
}
new SpawnCount[2] = 0;
SetSpawnInformation(spawn_region)
{
new i;
i = (MAX_SPAWNS_PER_REGION * spawn_region) + SpawnCount[spawn_region];
SpawnCount[spawn_region]++;
if(SpawnCount[spawn_region] >= MAX_SPAWNS_PER_REGION)
{
SpawnCount[spawn_region] = 0;
}
return i;
}