Difference between revisions of "SDKHooks"
m (→SDKHooks) |
|||
Line 3: | Line 3: | ||
===Under CSS=== | ===Under CSS=== | ||
− | Non regular cases for SDKHook_OnTakeDamage | + | ==Non regular cases for SDKHook_OnTakeDamage== |
+ | In the scenario where a player throw a grenade to another player then quickly disconnect, the attacker (2nd argument) will become the inflictor (3rd argument). | ||
− | + | In the scenario where a player fall; the attacker, which is also the inflictor, will be 0. | |
− | + | ==Some damage TYPE== | |
+ | A normal HEGrenade inflicts damage of type DMG_BLAST. | ||
+ | A fall inflicts damage of type DMG_FALL. |
Revision as of 03:36, 24 March 2015
SDKHooks
SDKHooks was previously an external extension to Sourcemod. It was added rolled in Sourcemod 1.5
Under CSS
Non regular cases for SDKHook_OnTakeDamage
In the scenario where a player throw a grenade to another player then quickly disconnect, the attacker (2nd argument) will become the inflictor (3rd argument).
In the scenario where a player fall; the attacker, which is also the inflictor, will be 0.
Some damage TYPE
A normal HEGrenade inflicts damage of type DMG_BLAST. A fall inflicts damage of type DMG_FALL.