06.01.2013, 19:45
Код:
C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(5275) : error 037: invalid string (possibly non-terminated string) C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(5275) : error 017: undefined symbol "ID" C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(5275) : error 029: invalid expression, assumed zero C:\Users\toni\Desktop\Gang War Los Santos 0.3e\gamemodes\mod2.pwn(5275) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
CMD:unmute(playerid, params[])
{
new id, string[128];
if(PlayerInfo[playerid][pAdmin] < 1)return 1;
else if(!sscanf(params, "u", id)) return SendClientMessage(playerid,COLOR_RED,"/unmute [ID/DioImena]);
else if(Mute[playerid] == 1)return SendClientMessage(playerid,COLOR_RED,"Igrac nije utisan");
else if(ID == INVALID_PLAYER_ID)return SendClientMessage(playerid, COLOR_WHITE, ""#COL_RED"| "COL_LIGHTBLUE"WS:DM "#COL_RED"| "#COL_WHITE""#COL_BLACK"| "COL_RED"Odbijeno "#COL_BLACK"| "#COL_WHITE"Pogresan ID");
{
format(string, sizeof(string), "Admin %s je maknuo mute igracu: %s", PlayerName(playerid), PlayerName(id));
SendClientMessage(playerid, COLOR_YELLOW, string);
Mute[id] = 0;
}
return 1;
}



