How do I make a faction only chat
#6

Use this:

PHP код:
forward SendFactionMessage(playerid,color,string[]);
public 
SendFactionMessage(playerid,color,string[]);

    foreach(
Player,i
    { 
        if(
PlayerInfo[playerid][Faction] == PlayerInfo[i][Faction])) 
        { 
            
SendClientMessage(i,color,string); 
        } 
    } 
    return 
1
}  
//How to use:
SendFactionMessage(playerid,-1,"This is the faction chat!"); 
Reply


Messages In This Thread
How do I make a faction only chat - by lramos15 - 14.10.2013, 03:03
Re: How do I make a faction only chat - by EiresJason - 14.10.2013, 03:55
Re: How do I make a faction only chat - by lramos15 - 14.10.2013, 04:19
Re: How do I make a faction only chat - by EiresJason - 14.10.2013, 04:28
Re: How do I make a faction only chat - by lramos15 - 14.10.2013, 15:52
Re: How do I make a faction only chat - by thomaswilliams - 14.10.2013, 16:02
Re: How do I make a faction only chat - by lramos15 - 14.10.2013, 16:04
Re: How do I make a faction only chat - by lramos15 - 14.10.2013, 19:24
Re: How do I make a faction only chat - by EiresJason - 14.10.2013, 20:02
Re: How do I make a faction only chat - by lramos15 - 14.10.2013, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)