Varible/Onplayertext
#1

If I had this:

pawn Код:
if(var == 1 && var2 == 4 && var3 == 6)
{
printf("lol");
}
It would let me in regardless what ever the vars are.
Try to help, Thanks.

But if it was like this spreadout
pawn Код:
if(var == 1)
{
    if(var2 == 4)
    {
        if(var3 == 6)
        {

        }
    }
}
The second one would work perfect, Its the first code which fucks up. WHY!
Reply
#2

I'm not sure why your getting odd results from the first code, but its probably better using the second piece anyway as you have much more control over what is happening. Not the answer you want probably, but no-one else is replying so i thort i would.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)