few errors
#2

you're using playerid, instead of i.

Код:
stock SendMessageToAdmins(text[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(pInfo[i][Admin] >= 1)
        {
            SendClientMessage(i, -1, text);
        }
    }
}
P.S. IsPlayerAdmin <-- function, detects only RCON logined users as admin.
Reply


Messages In This Thread
few errors - by ivndosos - 01.02.2018, 14:05
Re: few errors - by Mugala - 01.02.2018, 14:33
Re: few errors - by ivndosos - 01.02.2018, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)