28.11.2011, 12:46
Use this stock:
So in your dialog response script, it should look like this:
pawn Код:
stock SendMessageToCops(color,text[])
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(GetPlayerSkin(playerid) == (280 || 281 || 282 || 283 || 265 || 266 || 267))
{
SendClientMessage(i,color,text);
}
}
}
}
pawn Код:
SendMessageToCops(COLOR, MESSAGE);