25.10.2010, 14:05
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerAdmin(i))
{
new string[27];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "Admin: %s", sendername);
SendClientMessage(playerid, culoare, string);
}
}
}
Also ,this is only the loop , make the command the same as the others.