Raised This Month: $ Target: $400
 0% 

[HELP] Writing a module hooking CBasePlayer::SetAnimation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wiwi249
Member
Join Date: Oct 2013
Old 04-11-2015 , 14:02   [HELP] Writing a module hooking CBasePlayer::SetAnimation
Reply With Quote #1

Hello.
After a lot of trying with orpheu in this topic: https://forums.alliedmods.net/showthread.php?p=2282651 I've decided to write a new module to hook the CBasePlayer::SetAnimation, because it's the last thing I can do in that case. The problem is, that I've never written a module. I've got basic knowledge in C++ though. So:
1. Is there any tutorial or something written to help me learn module coding? I've been trying to search the forum but I didn't find it. Or maybe is there some basic code I can use to learn on (I don't need much, that will do).
2. How to hook the CBasePlayer::SetAnimation event in my module? In amxx it was (almost) all about byte signature in orpheu. How to make it with a module only?
3. How to make an AMXX Forward based on the functions I want to hook? If I "hook" this function, I think that I should make a hookable forward with AMXX and then supercede it (that's what I need to do, unfortunately). If you have any other ideas, can you tell me?

Thanks in advance and sorry for a problem. I just need to hook this function finally.
wiwi249 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode