15.12.2012, 14:00
pawn Code:
public HelpRequest(color, string[])
{
foreach(Player, i)
{
if(PlayerInfo[i][pAdmin] == 1)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
or:
public HelpRequest(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pAdmin] == 1)
{
SendClientMessage(i, color, string);
}
}
}
return 1;
}