IsPlayerInArea/Cube ?
#5

I dont want that, its too long for me
pawn Code:
public blablabla
{
    if(something == 999)
    {
        if(!IsPlayerInArea(...))
        {
            //code
        }else{
            //code
        }
    }else{
        if(!IsPlayerInCube(...))
        {
            //code
        }else{
            //code
        }
    }
    return 1;
}
is there a way to shorten this code for example
pawn Code:
public blablabla
{
    if(something == 999 && !IsPlayerInArea(...))
    else if(!IsPlayerInCube(...))
    {
        //code
    }else{
        //code
    }
    return 1;
}
only these 2 lines
pawn Code:
if(something == 999 && !IsPlayerInArea(...))
else if(!IsPlayerInCube(...))
Reply


Messages In This Thread
IsPlayerInArea/Cube ? - by Jefff - 22.11.2010, 13:21
Re: IsPlayerInArea/Cube ? - by Lenny the Cup - 22.11.2010, 13:59
Re: IsPlayerInArea/Cube ? - by Jefff - 22.11.2010, 15:42
Re: IsPlayerInArea/Cube ? - by Jefff - 23.11.2010, 12:54
Re: IsPlayerInArea/Cube ? - by Jefff - 23.11.2010, 14:01
Re: IsPlayerInArea/Cube ? - by Voldemort - 23.11.2010, 14:41
Re: IsPlayerInArea/Cube ? - by Jefff - 23.11.2010, 18:01
Re: IsPlayerInArea/Cube ? - by Bessensap - 23.11.2010, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)