31.03.2012, 11:17
pawn Code:
//on Command:/admins
for(new i=0;i!=Max_PLAYERS;i++)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerAdmin(i))
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(i,Name);
new Str[256];
format(Str,sizeof(Str),"Admin (%d) : %s was online",i,Name);
SendClientMessage(playerid,COLOR_WHITE,Str);
}
}
}
//Try this