Little Problem
#7

At enum pInfo i have

"pFac"

Is Good "[pFac] == 1)""? 1-Is number of faction.

or

PlayerInfo[playerid][pFac] = 1

How can i make now ?


Is good this ?:

Код:
stock SendMessageToCops(text[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)

    {
        if PlayerInfo[playerid][pFac] = 1
        {
            SendClientMessage(i, -1, text);
        }
    }
}
Reply


Messages In This Thread
Little Problem - by OnY - 23.12.2013, 17:14
Re: Little Problem - by R4mpage - 23.12.2013, 17:24
Re: Little Problem - by OnY - 23.12.2013, 17:26
Re: Little Problem - by R4mpage - 23.12.2013, 17:28
Re: Little Problem - by Patrick - 23.12.2013, 17:30
Re: Little Problem - by SilentSoul - 23.12.2013, 17:30
Re: Little Problem - by OnY - 23.12.2013, 17:40
Re: Little Problem - by SilentSoul - 23.12.2013, 17:47
Re: Little Problem - by OnY - 23.12.2013, 18:08
Re: Little Problem - by SilentSoul - 23.12.2013, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)