CanPhysgunPickup(Entity)

shared

Argument

  • weapon Entity The entity attempted to be picked up

Returns

  • boolean return false to not let the entity be picked up

Note: Returning is not required

Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.

Examples

hook CanPhysgunPickup – ""