new nev[MAX_PLAYER_NAME], string[128],adminnev[20]; GetPlayerName(playerid, nev, 24); switch(PlayerInfo[playerid][Level]) { case 0: adminnev = \"Játékos\"; case 1: adminnev = \"Teszt Admin\"; case 2: adminnev = \"Helper\"; case 3: adminnev = \"Admin\"; case 4: adminnev = \"FőAdmin\"; case 5: adminnev = \"Tulajdonos\"; } format(string, sizeof(string), \"[%s]%s %s\",adminnev, nev, text); SendClientMessageToAll(-1,string); return 0;
format(string, sizeof(string), \"[%s](nem tudom hogyan kérdezzem le az idet!)%s %s\",adminnev, nev, text, playerid);
switch(PlayerInfo[playerid][Level]) { case 0: adminnev = \"{ff0000}Játékos\"; case 1: adminnev = \"{ffaaaa}Teszt Admin\"; case 2: adminnev = \"{6a5fff}Helper\"; case 3: adminnev = \"{33aaff}Admin\"; case 4: adminnev = \"{66af9a}FőAdmin\"; case 5: adminnev = \"{2f00a6}Tulajdonos\"; } format(string, sizeof(string), \"[%s]%s(%): %s\",adminnev, nev, playerid, text); SendClientMessageToAll(-1,string);
format(string, sizeof(string), \"{FF0000}[%s]{FFFF00}%s{00FF00}(%i): {FF00FF}%s\",adminnev, nev, playerid, text);SendClientMessageToAll(-1,string);
new chatszin[20]//(Szinek) GetPVarString(playerid,\"ChatColor\",chatszin,sizeof(chatszin)); format(striing,sizeof(striing),\"%s {ff0000}[iD:%i] {0099ff}:: {00ff00}%s {0099ff}:: {ffffff}%s%s\",pName(playerid),playerid,chatszin,text);//(Lekérdezem) SendClientMessageToAll(GetPlayerColor(playerid),striing);}