Nooby question about if
#6

Quote:
Originally Posted by [NWA
Hannes ]
Will
pawn Код:
if(!killerid == INVALID_PLAYER_ID)
Work too?
When you say !<variable>, or !<function>, you are basically checking if your variable or function returns zero, so in this case, you are checking if 0 == INVALID_PLAYER_ID
Reply


Messages In This Thread
Nooby question about if - by bajskorv123 - 03.04.2010, 14:15
Re: Nooby question about if - by Nero_3D - 03.04.2010, 14:35
Re: Nooby question about if - by bajskorv123 - 03.04.2010, 14:51
Re: Nooby question about if - by biltong - 03.04.2010, 15:27
Re: Nooby question about if - by Nero_3D - 03.04.2010, 16:16
Re: Nooby question about if - by biltong - 03.04.2010, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)