Quote:
Originally Posted by Spirit_12
Is there a way to hook other buttons that are not on the list? To be specific, I'm trying to hook lastinv or slot1 key presses.
|
Those are client commands that do not get transmitted to the server (as commands nor buttons). You'd have to watch the weapon parameter in OnPlayerRunCommand for having a value (and then take as-is or infer the command from there).