Raised This Month: $ Target: $400
 0% 

Solved How to hook SetModel using Orpheu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-21-2021 , 10:29   Re: How to hook CBaseEntity SetModel using Orpheu
Reply With Quote #2

pfnSetModel is an engine function, not present in cs.so
Also, since this function is exported, you do not need a signature.

You can check how it is done here(https://forums.alliedmods.net/showthread.php?t=259880) to hook pfnPrecache* and do the same for pfnSetModel. This is the info you need to build the proper file: https://github.com/alliedmodders/hls.../eiface.h#L111
__________________

Last edited by HamletEagle; 10-21-2021 at 10:30.
HamletEagle 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 11:32.


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