[Pomoc] 4 Errora

Započeo Petar Pan, Avgust 03, 2011, 11:09:46 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj od 0
Detaljan opis problema:Stavio sam komandu rac i izbacuje mi 4 errora

komanda:

COMMAND:rac(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] < 3)
{
    SendClientMessage(playerid, COLOR_GRAD1, " Nisi Administrator !");
    return 1;
}
new bool:unwanted[CAR_AMOUNT];
for(new player=0; player<MAX_PLAYERS; player++)
      {
            if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
      }
for(new car = 1; car <= 483; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "RedAs: Sva auta respawnao je %s.", sendername);
BroadCast(COLOR_WHITE,string);
}
return 1;
}


errori

error 017: undefined symbol "CAR_AMOUNT"
error 009: invalid array size (negative, zero or out of bounds)
error 036: empty statement
fatal error 107: too many error messages on one line


Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

1.Pokazi linije

2.Stavi na vrh komande

new CAR_AMOUNT;