clan chat
#5

Код:
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;
           }
     }
}
Reply


Messages In This Thread
clan chat - by suni - 22.06.2015, 23:53
Re : clan chat - by KillerDVX - 23.06.2015, 02:05
Re: clan chat - by Shetch - 23.06.2015, 02:08
Re: clan chat - by suni - 23.06.2015, 11:19
Re: clan chat - by X337 - 23.06.2015, 11:27
Re: clan chat - by ~Error - 23.06.2015, 11:29
Re: clan chat - by X337 - 23.06.2015, 11:32
Re: clan chat - by Dignity - 23.06.2015, 11:40
Re: clan chat - by justice96 - 23.06.2015, 11:44
Re: clan chat - by suni - 23.06.2015, 17:55

Forum Jump:


Users browsing this thread: 2 Guest(s)