29.12.2010, 18:10
pawn Код:
stock Admins(playerid){
new string[100];
for(new i; i <MAX_PLAYERS; i++) {
if(IsPlayerAdmin(i){
format(string, sizeof(string), "Admins: %s",PlayerName(i));
SendClientMessage(playerid,0,string);
}
}
stock PlayerName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
return name;
}