View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-05-2019 , 13:58   Re: Passing CTakeDamageInfo to an SDKCall?
Reply With Quote #6

It's unclear from your first post what you are actually trying to do. If you're trying to inflict damage, what are you expecting the call to return?

Either way, the custom CTakeDamageInfo object is here: https://github.com/alliedmodders/sou...geinfohack.cpp
And the TakeDamage call is here: https://github.com/alliedmodders/sou....cpp#L178-L179

This is of course C++, so I'm not sure if it can be done directly in SourcePawn with SDKCall.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline