Quote:
Originally Posted by Nero_3D
Just do it without the != 0 if you only want to check if the variable is true (not false | not 0)
Or you remove the tag with _: but that would remove the sense of using tags at all (not recommended)
Alternative you could set the tag of the zero to ORM: (if thats the correct tag - check your definition)
pawn Code:
if(Something[playerid][ORM_ID]) if(_: Something[playerid][ORM_ID] != 0) if(Something[playerid][ORM_ID] != ORM: 0)
It doesn't matter what it is, you can print everything as anything, it just read the bit-sequence and translate it in your wanted format
|
Wow, I feel stupid. Haha, that was kind of obvious I guess. Thanks for the help. It was working perfectly fine with != 0 as well, just figured I could ask to get the warnings away.