30.03.2016, 13:56
PHP код:
stock GetAdminName(playerid)
{
new adminname[128];
switch(pInfo[playerid][pAdminLevel])
{
case 0: adminname = "Not Admin";
case 1: adminname = "Trial Moderator";
case 2: adminname = "Moderator Team";
case 3: adminname = "Administrator Team";
case 4: adminname = "Support Team";
case 5: adminname = "Management Team";
case 6: adminname = "Developer Team";
case 7: adminname = "Community Owner";
}
return adminname;
}
Can you show us the code of the another mistake or do you want solve this yourself.