25.06.2011, 04:11
pawn Код:
forward MessageToSSChat(color,const string[]);
public MessageToSSChat(color,const string[]) {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
new name[MAX_PLAYER_NAME]; GetPlayerName(i, name, sizeof(name));
if(!strcmp(name, "Joseph_Stryker", true) || !strcmp(name, "Josh_Rolen", true) || PlayerInfo[i][SSMember] >= 1)
{
SendClientMessage(i, color, string);
}
}
}
return 0x01;
}