C:\\Documents and Settings\\Penge\\Asztal\\szu\\gamemodes\\Nascar.pwn(564) : error 017: undefined symbol \"admin\"C:\\Documents and Settings\\Penge\\Asztal\\szu\\gamemodes\\Nascar.pwn(564) : warning 215: expression has no effectC:\\Documents and Settings\\Penge\\Asztal\\szu\\gamemodes\\Nascar.pwn(564) : error 001: expected token: \";\", but found \"]\"C:\\Documents and Settings\\Penge\\Asztal\\szu\\gamemodes\\Nascar.pwn(564) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\Penge\\Asztal\\szu\\gamemodes\\Nascar.pwn(564) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
CMD:setlevel(playerid, params[]){if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, \"HIBA: Nem vagy Rcon admin!\"); new adminlevel;new giveplayerid;if (sscanf(params, \"ud\", giveplayerid, adminlevel)) SendClientMessage(playerid, 0xFF0000AA, \"Használat: /setlevel [játékosID] [szint]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, \"HIBA: Nincs ilyen játékos!\");else if (adminlevel < 0 || adminlevel > 5) SendClientMessage(playerid, 0xFF0000AA, \"HIBA: Rossz szint! (Csak 3 szint lehetséges)\");else{ new name[MAX_PLAYER_NAME],name2[MAX_PLAYER_NAME],string[300]; GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(giveplayerid, name2, sizeof(name2)); format(string, sizeof string, \"%s [ADMIN] felemelte %s admin szintjét %d -re!\", name, name2, adminlevel); SendClientMessageToAll(0xFF0000AA,string); PlayerInfo[giveplayerid][Level] = adminlevel; } return 1;}
CMD:admins(playerid, params[]){ new string[64]; for(new i; i<30; i++) { if(PlayerInfo[playerid][Level] >= 1) { GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"Admin %s\", string); SendClientMessage(playerid, 0x0ffff, string); } } return 1;}
CMD:admins(playerid, params[]){ new string[64]; new i = 0; for(; i < MAX_PLAYERS; i++) { if(PlayerInfo[playerid][Level] >= 1) { GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"Admin %s\", string); SendClientMessage(playerid, 0x0ffff, string); } } return 1;}
CMD:admins(playerid, params[]){ new string[64]; for(new i; i<30; i++) { if(PlayerInfo[Level] >= 1) { GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"Admin %s\", string); SendClientMessage(playerid, 0x0ffff, string); } } return 1;}