SendAdminMessage problem.
#1

pawn Код:
forward SendAdminMessage(color, string[]);
public SendAdminMessage(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerInfo[playerid][pAdmin] >= 1)
            {
                SendClientMessage(i, color, string);
            }
        }
    }
}
pawn Код:
BCRP.pwn(90) : error 017: undefined symbol "PlayerInfo"
90:
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1)
I dont know how to fix it, it works in other commands!
Reply


Messages In This Thread
SendAdminMessage problem. - by lQs - 03.05.2013, 01:27
Re: SendAdminMessage problem. - by RevolutionaryGaming - 03.05.2013, 01:28
Re: SendAdminMessage problem. - by lQs - 03.05.2013, 01:30
Re: SendAdminMessage problem. - by RevolutionaryGaming - 03.05.2013, 01:31
Re: SendAdminMessage problem. - by lQs - 03.05.2013, 01:32
Re: SendAdminMessage problem. - by RevolutionaryGaming - 03.05.2013, 01:33
Re: SendAdminMessage problem. - by lQs - 03.05.2013, 01:37

Forum Jump:


Users browsing this thread: 1 Guest(s)