WeaponDamage Hook

Custom Server
To use this hook, you need to set the server as "Custom", which can be done by enabling this value on your plugin.

Engine.EnableCustomSettings( true );


When the weapon does damage, or being fired.

Note: This hook is only available if Engine.EnableCustomSettings is set to true.
HookReturnCode WeaponDamage(const string& in strClassname, int& out iDamage)


const string& in strClassname

No description available.

int& out iDamage

No description available.

Hook Register

Events::IsCustom::WeaponDamage.Hook( @WeaponDamage );