Quote:
Originally Posted by DJ Tsunami
Can't you just use SDKHook_TakeDamage? It uses as custom CTakeDamageInfo object to inflict damage.
|
If you mean passing it to the SDKCall, does it actually work? And besides that, I don't want to damage the person for a
second time, as I want to pass real values to the function I'm using.
If you mean taking a look in how it works, sure, but I'm getting the feeling it could just be from an inbuilt-extension and thus isn't applicable to normal Sourcemod plugins.
EDIT: Oh wait, you're the creator of SDKHooks, okay.
Um, my early outburst aside,
SDKHook_TakeDamage is a void function which means it's not going to return anything.
But since you created that function, (I hope) can you tell how you made the
CTakeDamageInfo object?
__________________