11.06.2013, 22:56
Try this:
Код:
stock GetPlayerAdminLevel(playerid) { new tmp[ 40 ]; switch(PlayerInfo[playerid][Admin_Level]) { case 4: myStrcpy(tmp, "Owner"); case 3: myStrcpy(tmp, "Admin"); case 2: myStrcpy(tmp, "Super Mod"); case 1: myStrcpy(tmp, "Mod"); case 0: myStrcpy(tmp, "Player"); default: myStrcpy(tmp, "N/A"); } return tmp; }