06.07.2009, 20:38
Obviously.
Put under OnGameModeInit:
Note that 500 may not be the correct delay for your calculation (if(d < 10 && (LastZ[ i] - z) > 5)). I mean, if you set the delay to 10 milliseconds, the player won't fall 5 units during this time and thus your code will not work.
Put under OnGameModeInit:
pawn Код:
SetTimer("FallingChecker", 500, true);