26.04.2018, 19:39
If you want all the cops to read the message then use this (along with my code):
PHP Code:
stock SendPlayerTeamMessage(playerid, color, string[])
{
foreach(new i : Player)
{
if(pTeam[i] == Police)
{
SendClientMessage(i, color, string);
}
}
return 1;
}