Faction
#1

Well, I have 2 factions and each player has its own faction and I want line 157 that can SendMessage to faction 1 and the Another Faction has its own Message. Hope you can understand what I mean, Sorry for bad English

pawn Код:
stock SendMessageToFaction(playerid, color, const string[]) //153
{ //154
    for(new i = 0; i < MAX_PLAYERS; i++) //155
    { //156
        if(PlayerInfo[i][Faction] >=1) //157
        if(PlayerInfo[i][Rank] >=1) //158
        if(i != playerid) //159
        { //160
            SendClientMessage(i, color, string); //161
        } //162
    } //163
    return 1; //164
} //165
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)