if (APlayerData[playerid][PlayerLevel] >= 5)
new str[16];switch(APlayerData[playerid][PlayerLevel]){case 1: format(str, sizeof(str), \"Moderátor\");case 2: format(str, sizeof(str), \"Adminsegéd\");case 3: format(str, sizeof(str), \"Admin\");case 4: format(str, sizeof(str), \"Fõadmin\");case 5: format(str, sizeof(str), \"Tulaj\");}
new string[128], new name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, sizeof(name));format(string, sizeof(string), \"%s %s\", str, name);SendClientMessage(playerid, -1, string);
new AdminLevelNames[6][12] = {\"\", \"Moderátor\", \"Adminsegéd\", \"Admin\", \"Főadmin\", \"Tulaj\"};
public OnPlayerTetx(playerid,text[]){ new str[128]; GetPlayerName(playerid, str, MAX_PLAYER_NAME); format(str, sizeof(str), \"[%s] %s\", AdminLevelNames[APlayerData[playerid][PlayerLevel]], str); SendClientMessageToAll(0xFFFFFFFF, str); return 0;}
public OnPlayerTetx(playerid,text[]){ new str[128]; GetPlayerName(playerid, str, MAX_PLAYER_NAME); format(str, sizeof(str), \"[%s] %s: %s\", AdminLevelNames[APlayerData[playerid][PlayerLevel]], str, text); SendClientMessageToAll(0xFFFFFFFF, str); return 0;}