Quote:
Originally Posted by nosoop
Your gamedata uses the DeathNotice call with a char* parameter, so you'll want to add that or use the one that isn't (which just calls the one you've declared with "player_death" as the last parameter, for other killfeed notices like the fish.).
There is a SDKCall_GameRules call type, so you don't need to pass in a gamerules instance.
Invoking the function would then be something like
Code:
SDKCall(hDeathNotice, victim, pTakeDamageInfo, "player_death");
Otherwise, I think that should be fine. I did make a mistake though; the size of CTakeDamageInfo should be 0x68 (last member is at 0x64).
|
Okay. Understood most of what you were saying, but still no progress on that
SDKCall.
Well, I've decided to try out Source Scramble.
Except I have no idea what to do to create the damage info object.
__________________