14.07.2011, 23:13
Quote:
pawn Код:
|
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;
}
if(!(strcmp(name, "Joseph_Stryker", true)) || !(strcmp(name, "Josh_Rolen", true)) || PlayerInfo[i][SSMember] >= 1)