13.04.2013, 07:19
pawn Код:
if(adminCount == 0) return SendClientMessage(playerid,-1,"There is no admin online!");
----
CMD:admins(playerid,params[])
{
new adminCount,string[128];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name));
if(PInfo[playerid][Level] > 0) {
format(string,sizeof(string),"[%s] %s",AdminLevelName(playerid),Name);
SendClientMessage(playerid,-1,string);
adminCount++;
}
}
if(adminCount == 0) return SendClientMessage(playerid,-1,"There is no admin online!");
return 1;
}