Quote:
ugly, and won't work on Linux.
|
yeah, i need some linux/unix coding practice, never coded in linux/unix enviroment before.
found in CBasePlayer, might help.
Code:
// Run a user command. The default implementation calls ::PlayerRunCommand. In TF, this controls a vehicle if
// the player is in one.
virtual void PlayerRunCommand (CUserCmd *ucmd, IMoveHelper *moveHelper);
only problem is, i think this is for vehicles only. I tried with passing NULL on the movehelper and hl crashed :'(.