View Single Post
Author Message
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 11-04-2019 , 22:57   Passing CTakeDamageInfo to an SDKCall?
Reply With Quote #1

Yep, I have no idea what to do.

I attempted this a long time ago but I didn't really know what I was doing, and it all blew up in my face.
I learned a bit from my mistakes, but since then I kinda left it alone.
Until now.

EDITED-IN EXPLANATION: I'm trying to create a death notice in the kill feed in TF2 using actual values from a TakeDamage hook.
PHP Code:
SDKCall(hPlayerEventKilledvictimint[
float m_vecDamageForce[3]; m_vecDamageForce == damageForce
]); 
I am completely aware that this is wrong, but I have no other ideas how it's done other than individual values crammed into a datapack. :\
__________________
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-12-2019 at 08:28.
Shadowysn is offline