One weird little error...
#6

Quote:
Originally Posted by Tigerbeast11
Quote:
Originally Posted by Finn
Then use:

if(Deathmatch[playerid] != 1)
Wouldnt it be easier to use

if(Deathmatch[playerid] == 0)?
!= 1 will check if Deathmatch variable ISN'T equal to 1 (it will pass any number which isn't 1) and if it's isn't, then it will execute the other code in the if-statement but == 0 will check if Deathmatch variable IS equal to 0 (it will pass only number 0) and will execute the other code in the if-statement.
Reply


Messages In This Thread
One weird little error... - by Tigerbeast11 - 31.10.2009, 12:28
Re: One weird little error... - by Finn - 31.10.2009, 12:36
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 12:38
Re: One weird little error... - by Finn - 31.10.2009, 12:43
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:26
Re: One weird little error... - by Correlli - 31.10.2009, 13:29
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:31
Re: One weird little error... - by Correlli - 31.10.2009, 13:36
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:40

Forum Jump:


Users browsing this thread: 2 Guest(s)