Quote:
Originally Posted by Bugsy
You can't hook random buttons on the persons keyboard, but you can hook certain activities in the game, which are sometimes the same thing.
These can be hooked with FM_CmdStart.
PHP Code:
IN_ATTACK
IN_ATTACK2
IN_BACK
IN_CANCEL
IN_DUCK
IN_FORWARD
IN_JUMP
IN_LEFT
IN_MOVELEFT
IN_MOVERIGHT
IN_RELOAD
IN_RIGHT
IN_RUN
IN_SCORE
IN_USE
|
However there are better ways of hooking some of those keys such as jump, duck, attack, and use which don't require a check every frame.
__________________