Is it possible to use is_user_connected() on a userid to determine if a user is in-game, or is it merely a check for a valid user being connected to the server?
This line of code:
entity_set_float(id, EV_FL_fuser2, 0.0) // Disable slow down after jumping
is causing this run-time error:
L 10/07/2004 - 14:50:54: [AMXX] Run time error 10 (native) on line 851 (file "uwc3.sma").
L 10/07/2004 - 14:50:54: [Engine] Invalid player 1 (not in-game)
so I am looking for an easy way to check that the player is in-game before letting the command function.
And on a different note, if you read this Bailopan, thanks for the is_user_connected() suggestion, it helped solve many of the other run-time errors that were being generated.