Raised This Month: $51 Target: $400
 12% 

DHooks "GetStickerAttributeBySlotIndexInt" function post


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yizhibi
Junior Member
Join Date: May 2014
Old 09-28-2020 , 10:55   DHooks "GetStickerAttributeBySlotIndexInt" function post
Reply With Quote #1

when i dhooks GetStickerAttributeBySlotIndexInt post srcds.exe will be exit
pre hook this no problem
yizhibi is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-28-2020 , 11:24   Re: DHooks "GetStickerAttributeBySlotIndexInt" function post
Reply With Quote #2

You need a pre hook also to use post hook, this is maybe what's causing the crash. Pre hook can be empty, but required to make post work (sometimes - I think not always the case - depending on function).
__________________
Silvers is offline
yizhibi
Junior Member
Join Date: May 2014
Old 09-28-2020 , 17:43   Re: DHooks "GetStickerAttributeBySlotIndexInt" function post
Reply With Quote #3

Quote:
Originally Posted by Silvers View Post
You need a pre hook also to use post hook, this is maybe what's causing the crash. Pre hook can be empty, but required to make post work (sometimes - I think not always the case - depending on function).
thanks bro !!!!
yizhibi is offline
Reply



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 18:33.


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