So are there any functions that force a player to press a key? Specifically, I need to force a player to MWHEELUP/MWHEELDOWN; I thought there would be a console command specific to this (Like +walk, +jump, +lookup, etc ) but I havn’t been able to find one. Any help?
Also, on a slightly unrelated question (I didn’t think that I need to make 2 threads for this), how do you properly set up a colon operator for a function?
So I can enter arguments on custom functions like
[lua] ply:CustomFunction() [/lua] etc.
What explanations I’ve found on this on the web already have been somewhat incomprehensible to me. Thanks in advance!