error
#8

You could use strcmp or:

pawn Код:
stock SendFactionMessage(playerid, color, text[])//Don't mind 'playerid'
{
    foreach(Player, i)
    {
        if(PlayerInfo[playerid][pFaction] == PlayerInfo[i][pFaction])
        {
            SendClientMessage(i, color, text);
        }
    }
    return 0;
}
Not tested but should work.
Reply


Messages In This Thread
error - by bartje01 - 27.06.2011, 20:38
Re: error - by Tee - 28.06.2011, 00:35
Re: error - by bartje01 - 28.06.2011, 01:13
AW: error - by Nero_3D - 28.06.2011, 01:24
Re: error - by bartje01 - 28.06.2011, 01:26
Re: error - by =WoR=Varth - 28.06.2011, 01:32
Re: error - by bartje01 - 28.06.2011, 01:37
Re: error - by Tee - 28.06.2011, 01:41
Re: error - by bartje01 - 28.06.2011, 01:47
Re: error - by Tee - 28.06.2011, 02:25

Forum Jump:


Users browsing this thread: 1 Guest(s)