Back to TPG

tpg.weapon.disposableat:OnPrimaryAttack

S🏷️ Weapon Disposableat

Part of TPG namespace

SWEP:OnPrimaryAttack()
View on GitHub|entities/weapons/disposableat/shared.lua:182-191
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Single use: the tube is spent after one rocket. Strips the weapon off the owner 0.1s after firing (server only) so the shot has time to actually resolve first; SWEP:OnRemove hands the carry-speed penalty back.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.