SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000); PlayerPlaySound(playerid,1058,0.0,0.0,0.0);new szin[32];GetPVarString(playerid, \"ChatColor\", szin, sizeof(szin));new file[256]; static name[MAX_PLAYER_NAME],string[128];GetPlayerName(playerid,name,sizeof(name)); format(file,sizeof(file),\"/LuxAdmin/Accounts/%s.sav\",udb_encode(name)); if(strlen(text) <= hoszusag){if(!fexist(file)) return SendClientMessage(playerid, red, \"Hiba: A fájl nem létezik vagy nincs regisztrációd\");if( strlen( dini_Get(file, \"Rang\")) <= 1){ format(string,sizeof(string),\"%s {FF0000}(%d): {FFFFFF}%s%s\",name,playerid,szin,text);} else{ format(string,sizeof(string),\"{B8860B}%s {%06x}%s {FF0000}(%d): %s%s\",dini_Get(file,\"Rang\"),GetPlayerColor(playerid) >>> 8,name,playerid,szin,text);}}else{ new szoveg2[61]; strmid(szoveg2,text,hoszusag,129); new pos = strfind(text,\" \", true); if( pos != -1 ) text[pos] = \'\\n\';strdel(text, hoszusag, 129);if(!fexist(file)) return SendClientMessage(playerid, red, \"Hiba: nem vagy regisztrálva.\");if( strlen( dini_Get(file, \"Rang\")) <= 1){ format(string,sizeof(string),\"%s {FF0000}(%d): %s%s\",name,playerid,szin,text);}else{ format(string,sizeof(string),\"{B8860B}%s {%06x}%s {FF0000}(%d): %s%s\",dini_Get(file,\"Rang\"),GetPlayerColor(playerid) >>> 8,name,playerid,szin,text);}SendClientMessageToAll(GetPlayerColor(playerid),string); SendClientMessageToAll(szin,szoveg2); return 0;}return SendClientMessageToAll(GetPlayerColor(playerid), string),0;[/cede]