Back to TPG

tpg.weapon.pointtool:PrimaryAttack

S🏷️ Weapon Pointtool

Part of TPG namespace

SWEP:PrimaryAttack()
View on GitHub|entities/weapons/weapon_tpg_pointtool/shared.lua:128-148
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Places the currently-selected point type at the owner's eye-trace hit position, via TPG.Maps.AddPoint. Admin-gated server-side; a non-admin owner is refused with a chat message and nothing is placed. Does nothing if the trace didn't hit anything.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.