[Tutorial] Booleans and what they can be used for (Checking states, etc)
#5

Quote:
Originally Posted by Mellnik
Посмотреть сообщение
Код:
if(isplayerongodmode == true)
=
Код:
if(isplayerongodmode)
Not really, ANY non zero value (Even negative) is treated as true if you use if(isplayerongodmode). So if you want any value less than or equal to 0, false, then that line wont work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)