View Single Post
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 11-05-2019 , 00:57   Re: Passing CTakeDamageInfo to an SDKCall?
Reply With Quote #3

Quote:
Originally Posted by nosoop View Post
If you don't already have an CTakeDamageInfo instance on hand, you'll probably need to use something like Source Scramble to allocate one, set up the desired values, then pass its address. Refer to game/shared/takedamageinfo.h in the Source SDK for how it's laid out.

However, it does seem like you're posting about an attempt to solve a different problem (the XY problem) -- what are you actually trying to solve, if anything?
Generally just trying to make an SDKCall that utilizes CTakeDamageInfo to work properly.
In that case, I'm trying to create a CTakeDamageInfo object or getting it to function some other way.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 11-05-2019 at 07:59.
Shadowysn is offline