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.