11.06.2013, 22:49
pawn Код:
stock GetPlayerAdminLevel(playerid)
{
new AdminString[12];
if(userData[playerid][Admin_Level] == 1) { AdminString = "Mod"; }
else if(userData[playerid][Admin_Level] == 2) { AdminString = "Super Mod"; }
else if(userData[playerid][Admin_Level] == 3) { AdminString = "Admin"; }
else if(userData[playerid][Admin_Level] == 4) { AdminString = "Owner"; }
else { AdminString = "Unknown"; }
return a_level_string;
}