06.05.2014, 15:56
I'm pretty sure that the function simply returns -1 for a value if it's not been set before. However, in Pawn everything that isn't exactly 0 is evaluated as "true". Therefore, -1 is also "true". It should probably be evaluated as:
pawn Код:
if(engine != 1)