11.02.2015, 14:58
pawn Код:
CheckAdminLevel(playerid)
{
for(new i; i < admin_Total; i++)
{
if(!strcmp(gPlayerName[playerid], admin_Data[i][admin_Name]))
{
admin_Level[playerid] = admin_Data[i][admin_Rank];
break;
}
}
}
pawn Код:
stock GetPlayerAdminLevel(playerid)
{
if(!IsPlayerConnected(playerid))
return 0;
return admin_Level[playerid];
}