View Single Post
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 04-26-2019 , 06:50   Re: [L4D & L4D2] Tank Rock Destroyer Announce [v1.0.0 | 26-April-2019]
Reply With Quote #2

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(entitySDKHook_OnTakeDamagePostOnTakeDamage);
    }

Else good plugin nice config options
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline