View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-14-2021 , 22:19   Re: [ANY] Input Hooks - DevTools (1.5) [03-Mar-2021]
Reply With Quote #17

Quote:
Originally Posted by bottiger View Post
The offset of fieldType is the largest size of the union + sizeof(eVal).
How can it be done in this plugin? How do I determine if I should be reading an int or string etc? When calling DHookGetParamObjectPtrVar for an int the server will crash if it's supposed to be a string.
__________________
Silvers is offline