23.06.2015, 02:08
You can create a command such as /clanchat [text] which will loop through all the players and only send the text to whoever is in the particular clan.
So for example:
PlayerInfo[i][pClan] == 1
The number 1 would equal to the ID of the clan you wish to send the message to.
So for example:
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pClan] == 1)
{
SendClientMessage(i, COLOR_WHITE, text);
}
}
The number 1 would equal to the ID of the clan you wish to send the message to.

