Should use Post hook incase another plugin messes with the damage.
PHP Code:
public void OnEntityCreated(int entity, const char[] classname)
{
if (StrEqual(classname, "tank_rock", false))
{
SDKHook(entity, SDKHook_OnTakeDamagePost, OnTakeDamage);
}
}
Else good plugin nice config options
__________________