View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-14-2015 , 06:27   Re: [HELP] Writing a module hooking CBasePlayer::SetAnimation
Reply With Quote #7

Try that.

Unzip setanimation-files in /dlls (1.8.2) or /modules (1.8.3-dev)

In your plugin use the OnSetAnimation forward:

Code:
public OnSetAnimation(player, anim) {     // return PLUGIN_HANDLED to block the call }

EDIT: I guess I could add a native later.
Attached Files
File Type: zip setanimation-files.zip (62.1 KB, 537 views)
File Type: zip setanimation-source.zip (128.7 KB, 509 views)
__________________

Last edited by Arkshine; 04-14-2015 at 13:23.
Arkshine is offline