[Pomoc] 8 error-a

Započeo [BG]Terry, Februar 10, 2012, 08:35:58 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:Classic Life Role Play
Detaljan opis problema:D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72751) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72753) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72755) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72758) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72760) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72762) : error 010: invalid function or declaration
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72764) : warning 218: old style prototypes used with optional semicolumns
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72765) : error 054: unmatched closing brace ("}")
D:\Users\Tarik\Classic Life RolePlay\gamemodes\APOKALITOZ.pwn(72769) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.

Dio skripte:
if(strcmp(cmd, "/destroycars", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] < 4)
{
    SendClientMessage(playerid, COLOR_GRAD1, "   Nije vam dozvoljeno koristiti ovu komandu!");
    return 1;
}
for(new i = 0; i < sizeof(CreatedCars); i++)
{
if(i != 0)
{
    EraseVehicle(CreatedCars[i]);
}
}
SendClientMessage(playerid, COLOR_GREY, "   Created Vehicles destroyed !");
}
return 1;
Brazil RP [90%]