Hooking OnPlayerRunCmd
Posted: Thu Dec 24, 2015 10:09 am
Hi there,
I know you can use the OnTick listener and use playerinfo.get_last_user_command() to get the same sort of information as OnPlayerRunCmd, but these values are of course read only.
I think it may involve some signature scanning, but I am totally new to Source.Python's memory module and trying to implement a solution. Would anyone be able to guide me towards a possible solution for this?
Thanks,
Roflmuffin
I know you can use the OnTick listener and use playerinfo.get_last_user_command() to get the same sort of information as OnPlayerRunCmd, but these values are of course read only.
I think it may involve some signature scanning, but I am totally new to Source.Python's memory module and trying to implement a solution. Would anyone be able to guide me towards a possible solution for this?
Thanks,
Roflmuffin