29.11.2013, 07:04
Do you have foreach include and it is defined before a_samp include? Also, the code must be like this:
EDIT: I'm late too, only 60000 milliseconds.
pawn Код:
stock CounterRadio(const string[])
{
foreach(Player, i)
{
if(GetPlayerState(i) != PLAYER_STATE_NONE)
{
if(GetPlayerClass[i] == TEAM_COUNTER)
{
SendClientMessage(i, BLUE, string);
}
}
}
return true;
}