10.04.2011, 19:36
When I add this
It gisplays me these errors
Why is that?
Код:
if(strcmp(cmd, "/respawnvehicles", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 5) { for(new i=0;i<MAX_VEHICLES;i++) { if(IsVehicleOccupied(i) == 0) { SetVehicleToRespawn(i); } } format(string, sizeof(string), "[INFO:] Unoccupied vehicles respawned by %s.", GetPlayerNameEx(playerid)); SendClientMessageToAll(COLOR_ADMINCMD, string); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Your not an administrator."); } return 1; }
Код:
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8454) : error 010: invalid function or declaration E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8456) : error 010: invalid function or declaration E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8458) : error 010: invalid function or declaration E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8460) : error 010: invalid function or declaration E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8468) : error 010: invalid function or declaration E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8472) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.