new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s %s {FFFFFF}[%d]:{FFFFFF}%s \",nev, AdminLevelName [APlayerData[playerid][PlayerLevel]],playerid, text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s {FFFFFF}[%i]{00FF00}%s :{FFFFFF}%s \",nev,playerid, AdminLevelName [APlayerData[playerid][PlayerLevel]], text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;}}
public OnPlayerText(playerid, text[]){ new format[128], nev[MAX_PLAYER_NAME], admin[32]; GetPlayerName(playerid, nev, sizeof (nev));switch(ADMINVÁLTOZÓD) //ÍRD ÁT MAJD!{case 0: admin = \"Játékos\";case 1: admin = \"VIP\";case 2: admin = \"Moderátor\";case 3: admin = \"Admin\";case 4: admin = \"Fõadmin\";case 5: admin = \"Scripter\";case 6: admin = \"Tulaj\";} format(format, sizeof (format), \"(%d)%s[%s]: %s\", playerid, nev, admin, text); SendPlayerMessageToAll(playerid, format); return 0;}
C:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(9) : error 021: symbol already defined: \"GetPlayerName\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(12) : error 010: invalid function or declarationC:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(13) : error 021: symbol already defined: \"string\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(14) : error 021: symbol already defined: \"nev\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(18) : error 010: invalid function or declarationC:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(21) : warning 203: symbol is never used: \"nev\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\Adminss.pwn(21) : warning 203: symbol is never used: \"string\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
public OnPlayerText(playerid, text[]){if (APlayerData[playerid][Muted] == true){// Let the player know he\'s still mutedSendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}NÉMA VAGY!!);// Don\'t allow his text to be sent to the chatboxreturn 0;}new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s %s {FFFFFF}[%d]:{FFFFFF}%s \",nev, AdminLevelName [APlayerData[playerid][PlayerLevel]],playerid, text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s {FFFF00}[%i]{fa0808}%s :{FFFFFF}%s \",nev,playerid, AdminLevelName [APlayerData[playerid][PlayerLevel]], text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;}}
new string[128];new nevke[40];GetPlayerName(playerid,nevke,sizeof(nevke));format(string,sizeof(string),\"%s %s {FFFFFF}[%d]:{FFFFFF}%s \",nevke, AdminLevelName [APlayerData[playerid][PlayerLevel]],playerid, text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;}
C:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(77) : warning 217: loose indentationC:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(380) : error 037: invalid string (possibly non-terminated string)C:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(380) : error 017: undefined symbol \"FF0000\"C:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(380) : warning 217: loose indentationC:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(380) : error 017: undefined symbol \"N\"C:\\DOCUME~1\\RENDSZ~1\\LOCALS~1\\Temp\\Rar$DI00.516\\PPC_Trucking.pwn(380) : fatal error 107: too many error messages on one line HIBA!!!
// This callback gets called whenever a player uses the chat-boxpublic OnPlayerText(playerid, text[]){if (APlayerData[playerid][Muted] == true){// Let the player know he\'s still mutedSendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}NÉMA VAGY!!);// Don\'t allow his text to be sent to the chatboxreturn 0;}new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s %s {FFFFFF}[%d]:{FFFFFF}%s \",nev, AdminLevelName [APlayerData[playerid][PlayerLevel]],playerid, text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;new string[128];new nev[40];GetPlayerName(playerid,nev,sizeof(nev));format(string,sizeof(string),\"%s {FFFF00}[%i]{fa0808}%s :{FFFFFF}%s \",nev,playerid, AdminLevelName [APlayerData[playerid][PlayerLevel]], text);SendClientMessageToAll(GetPlayerColor(playerid),string);return 0;}