Faction
#3

Quote:
Originally Posted by MattSlater
Посмотреть сообщение
pawn Код:
stock SendMessageToFaction(playerid, color, const string[]) //153
{ //154
    for(new i = 0; i < MAX_PLAYERS; i++) //155
    { //156
        if(PlayerInfo[playerid][Faction] == PlayerInfo[i][Faction])
        {
         SendClientMessage(i, color, string);
        }
    } //163
    return 1; //164
} //165
This will send the message to everyone that's in your faction, I presume that's what you wanted ;3
Yes, I'll give it a try .
Reply


Messages In This Thread
Faction - by Zex Tan - 28.12.2012, 05:07
Re: Faction - by MattSlater - 28.12.2012, 05:11
Re: Faction - by Zex Tan - 28.12.2012, 05:31

Forum Jump:


Users browsing this thread: 1 Guest(s)