View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 06-11-2012 , 15:10   Re: Access SourceMod core?
Reply With Quote #6

Quote:
Originally Posted by ajr1234 View Post
There is a OnPlayerRunCmd forward in pawn, so I basically need the same hook. Anyhow, I'll look through the documentation. Thanks again.
Players telling the server where they believed they moved to or holding down move buttons shoudn't be confused with them actually moving.

However,

If you still want that function despite that, you can use SourceHook to hook it much like SDKTools does in extensions/sdktools/hooks.cpp.
psychonic is offline