Quote:
Originally Posted by ******
pawn Код:
#define IS_NOT_IN_GODMODE_IF_STATEMENT if(playerid == playerid)//Default: N/A
That can be written as:
pawn Код:
#define IS_NOT_IN_GODMODE_IF_STATEMENT
Which entirely removes the "if", but leaves the block statement after it - entirely valid code without the excess check.
|
Wow, i didn't think of trying that way, i was simply trying to get it to compile, updated, thanks again
It also opens up so many possibilities!
@DrSlett
Godmode is 9999, why not check anything above 100 to easily detect it? There shouldn't be a way to get your health to exceed 100%, otherwise your adding to there health somewhere and it is a bug.