23.12.2013, 17:30
What is your enum of police team ?
once you finish that , re-edit your script with formating a new string
EDIT: Ops they were faster
P.s: I've edited to your enum , you gaved but i don't want to bump the thread again , sorry for editing.
pawn Код:
stock SendMessageToCops(text[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pFac] == 1)
{
SendClientMessage(i, -1, text);
}
}
}
pawn Код:
format(string,sizeof(string),"Suspect %s has exceed limited speed allowed , he was walking on .. ");
SendMessageToCops(string);
P.s: I've edited to your enum , you gaved but i don't want to bump the thread again , sorry for editing.