Can't understand
#1

Ok. I create a variable.
pawn Код:
new i = 1;
if i try to make a function , something like this
pawn Код:
if(i))
{
// function
}
It took i = 1 , isn't ?

This is equivalent with this , isn't ?

pawn Код:
if(i == 1)
{
//function
}
Right ...

but if i do like this
pawn Код:
if(!i))
{
//function
}
It took i == 0 , whY?
Reply


Messages In This Thread
Can't understand - by russiany - 29.05.2009, 18:26
Re: Can't understand - by MenaceX^ - 29.05.2009, 19:36
Re: Can't understand - by Felle - 29.05.2009, 20:02
Re: Can't understand - by Donny_k - 29.05.2009, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)