Difference between revisions of "SDKHooks"

From AlliedModders Wiki
Jump to: navigation, search
(Adding information on SDKHooks. I feel that the extension deserve a wiki page.)
 
m (SDKHooks)
Line 1: Line 1:
 
==SDKHooks==
 
==SDKHooks==
SDKHooks was previously an external extension to Sourcemod. It was added in [https://wiki.alliedmods.net/Sourcemod_1.5.0_API_Changes#SDKHooks Sourcemod 1.5]
+
SDKHooks was previously an external extension to Sourcemod. It was added rolled in [https://wiki.alliedmods.net/Sourcemod_1.5.0_API_Changes#SDKHooks Sourcemod 1.5]
  
 
===Under CSS===
 
===Under CSS===

Revision as of 04:31, 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.