Admin only appears on Admin list after doing /onduty
#4

Quote:
Originally Posted by zxc1
Посмотреть сообщение
Add:
pawn Код:
if(adminDuty[i]) = true)
{

}
Before checking the admin levels on /admins command.
There should be two equal signs when comparing values, one is used for setting values. The round brackets don't make much sense either.

Use

pawn Код:
if(adminDuty{i})
{
    if(pInfo[i][Adminlevel] == 1)
    {
        format(string, sizeof(string),"Admin Rank 1:{FFFFFF} (%d) %s", i, PlayerName(i));
        SendClientMessage(playerid, 0x00B3FFFF, string);
        count++;
    }
    // and so on
}
Reply


Messages In This Thread
Admin only appears on Admin list after doing /onduty - by Goldino - 21.02.2013, 16:10
Re: Admin only appears on Admin list after doing /onduty - by zxc1 - 21.02.2013, 16:40
Re: Admin only appears on Admin list after doing /onduty - by Goldino - 21.02.2013, 16:52
Re: Admin only appears on Admin list after doing /onduty - by Johnson_boy - 21.02.2013, 18:43
Re: Admin only appears on Admin list after doing /onduty - by Goldino - 21.02.2013, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)