13.03.2013, 08:36
Quote:
Didn't you ask a similar question just a few days ago? The compiler cannot calculate the values of fX and fY because they are runtime variables. They are initialized only when the script is run. I recommend you use assert(); this evaluates the expression at runtime and will exit the server with runtime error 1 if the expression evaluates to false.
|
Anyways, I tried what you said:
pawn Код:
new fX = InfoBox[boxid][iX];
new fY = InfoBox[boxid][iY];
new s = fX - fY;
#assert s < 71