I put 'debug' after the entry in plugins.ini, here's the error:
Code:
[AMXX] Run time error 10: native error (native "set_user_gravity")
[AMXX] [0] plugin_flightmode2.sma::stop_fly (line 72)
[AMXX] [1] plugin_flightmode2.sma::user_fly (line 22)
It repeats hundreds of times, as long as a player is flying. However, it is worth noting that this doesn't happen every time I run the plugin. This error just comes up sometimes, and later can go away.
For your information, this is plugin_flightmode.sma without the CS specific functions, slightly modified by me, but the original plugin_flightmode.sma came up with the same error just on different lines.