BarricadePlacement 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 a barricade has been placed down

Note: This hook is only available if Engine.EnableCustomSettings is set to true, and it must return as HOOK_HANDLED.
HookReturnCode BarricadePlacement(int& out iHealth, float& out flPhysResistant, int& out iFlags)


int& out iHealth

No description available.

float& out flPhysResistant

No description available.

int& out iFlags

No description available.

Hook Register

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