05.09.2013, 08:32
Next time use [PAWN] don't use [CODE]
pawn Код:
stock MessageToTwice(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)
{
if(PlayerInfo[i][OnDuty] == 1)
{
if(PlayerInfo[i][Level] >= 1 && PlayerInfo[i][Helper] == 1)
{
SendClientMessage(i, color, string);
}
}
}
}
return 1;
}