View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-04-2018 , 19:22   Re: [HELP] Writing a module hooking CBasePlayer::SetAnimation
Reply With Quote #22

Quote:
Originally Posted by Arkshine View Post
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.
There is a mistake in a include file called setanimation.h line 10.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh