03.03.2013, 10:53
I've been told assertion should not be used unless I'm trying to find errors that the compiler can't find.
I know assertion wasn't normally meant to be used this way, but what's the harm in using it like that? (this is my question)
Doesn't that code do the same as:
?
pawn Код:
assert(gPlayerInfo[playerid][pAdmin]);
Doesn't that code do the same as:
pawn Код:
if(!gPlayerInfo[playerid][pAdmin]) return (0);