Line 5 errors
#10

PHP код:
stock GetAdmins()
{
    foreach(
Playeri)
    {
        if(
IsPlayerConnected(i))
        {
            new 
x;
            if(
PlayerInfo[i][pAdmin] >= 1)
            
x++;
        }
    }
    return 
x;

Try this and tell me if it works, p.s can you try to explain to me what is that "x" there for? I just added it because i saw it in your code i don't even know what it is
Reply


Messages In This Thread
Line 5 errors - by enzulikeS - 06.02.2018, 21:43
Re: Line 5 errors - by dani18 - 06.02.2018, 22:01
Re: Line 5 errors - by enzulikeS - 06.02.2018, 22:06
Re: Line 5 errors - by Hypex - 06.02.2018, 22:16
Re: Line 5 errors - by enzulikeS - 07.02.2018, 15:03
Re: Line 5 errors - by solstice_ - 07.02.2018, 15:04
Re: Line 5 errors - by enzulikeS - 07.02.2018, 15:05
Re: Line 5 errors - by solstice_ - 07.02.2018, 15:07
Re: Line 5 errors - by enzulikeS - 07.02.2018, 15:13
Re: Line 5 errors - by solstice_ - 07.02.2018, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)