03.10.2014, 22:00
pawn Код:
stock GetAdminName(playerid)
{
new adminname[129];
switch(PlayerInfo [ playerid ] [ Level ])
{
case 0: return 1; // not an admin level.
case 1: adminname = "Admininstrator";
case 2: adminname = "General Admininstrator";
case 3: adminname = "Senior Admininstrator";
case 4: adminname = "Head Admininstrator";
case 5: adminname = "Chief";
case 6: adminname = "Server Owner";
}
return adminname;
}