23.06.2015, 11:29
PHP код:
public OnPlayerText(playerid, text[])
{
if(!strcmp(text[0], "*"))
{
if(Is Player In Gang?) // Change this with your own variable
{
for(new i = 0; i <= GetPlayerPoolSize(); i++)
{
if(Player (playerid) Clan == Player (i) Clan) // Change this with your own variable
{
SendClientMessage(i, COLOR_WHITE, text[1]);
}
}
return 0;
}
}
}