dcmd_aszoli(playerid,params[]){new name[MAX_PLAYER_NAME], newname[128]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); if (PlayerInfo[playerid][Level] == 1) { SetPlayerName(playerid, newname); format(newname, sizeof(newname), \"{ffe100}[Admin]{000000} %s\" name); } ........
C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1034) : error 001: expected token: \"-string end-\", but found \"-identifier-\"C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1034) : warning 215: expression has no effectC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1034) : error 001: expected token: \";\", but found \")\"C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1034) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1034) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
format(newname, sizeof(newname), \"{ffe100}[Admin]{000000} %s\" name);
format(newname, sizeof(newname), \"{ffe100}[Admin]{000000} %s\", name);
C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1042) : warning 217: loose indentationC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1042) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1042) : warning 215: expression has no effectC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1042) : error 001: expected token: \";\", but found \"if\"C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1044) : error 017: undefined symbol \"newname\"C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1044) : error 017: undefined symbol \"newname\"C:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1044) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\Viktor\\Asztal\\0.3X SDPD\\filterscripts\\ladmin4.pwn(1044) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors.
dcmd_aszoli(playerid,params[]) {{new name[MAX_PLAYER_NAME], newname[128]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); if (PlayerInfo[playerid][Level] == 1) { format(newname, sizeof(newname), \"{ffe100}[Admin]{000000} %s\", name); SetPlayerName(playerid, newname); } else if(PlayerInfo[playerid][Level] == 2) format(newname, sizeof(newname), \"{b3b3b3}[Admin]{16de37} %s\", name); SetPlayerName(playerid, newname); } else if(PlayerInfo[playerid][Level] == 3) format(newname, sizeof(newname), \"{41f0e1}[Admin]{707070} %s\", name); SetPlayerName(playerid, newname); } else if(PlayerInfo[playerid][Level] == 4) format(newname, sizeof(newname), \"{fab82a}[Admin]{6e5822} %s\", name); SetPlayerName(playerid, newname);} else if(PlayerInfo[playerid][Level] == 5) format(newname, sizeof(newname), \"{ff0000}[Admin]{3b5bdb} %s\", name); SetPlayerName(playerid, newname); } else if(PlayerInfo[playerid][Level] == 6) format(newname, sizeof(newname), \"{525252}[Tulajdonos]{16de37} %s\", name); SetPlayerName(playerid, newname); } return 1;}