29.12.2016, 16:03
PHP код:
public SendHelperMessage(COLOR, const striing[])
{
for(new i=1; i != MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pHelper] >= 1)
{
SendClientMessage(i, COLOR, striing);
}
}
return 1;
}
public ChatHelperAdmin(COLOR, const striing[])
{
for(new i=1; i != MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pHelper] >= 1 || PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i, COLOR, striing);
printf("%s", striing);
}
}
return 1;
}