public void OnEntityCreated(int entity, const char[] classname) { // check if the classname param is the tank { SDKHook(entity, SDKHook_OnTakeDamage, OnPropTakeDamage); } }