Few questions
#5

Well first off, having each if statement on one line, it can cause a bit of confusion with the && and || etc.

So you can try splitting it into different if statements and see if that works.

pawn Код:
if((i != playerid))
{
    if(pInfo[playerid][Admin] > pInfo[i][Admin])
    {
        if(RaceParticipant[playerid] < 0)
        {
            if(GetPlayerState(i) != 1 && GetPlayerState(i) != 2 && GetPlayerState(i) != 3)
            {
                if(pInfo[i][Jail] == 0)
                {
                    if(pInfo[i][Freeze] == 0)
                    {
                        //Code here
                    }
                }
            }
        }
    }
}
Reply


Messages In This Thread
Few questions - by JaKe Elite - 27.12.2012, 07:36
Re: Few questions - by iggy1 - 27.12.2012, 08:34
Re: Few questions - by JaKe Elite - 27.12.2012, 09:07
Re: Few questions - by JaKe Elite - 28.12.2012, 09:45
Re: Few questions - by Threshold - 28.12.2012, 10:01

Forum Jump:


Users browsing this thread: 2 Guest(s)