The Static Add/Remove tool: left click makes the entity the user is looking at static, right click removes its static status. The tool is tied to the 'static_tool' permission.

Summary

Methods

Makes the entity the owner is looking at static.
Removes the static status of the entity the owner is looking at.

Methods

TOOL:LeftClick(_trace)

shared plugins/staticents/plugin/tools/sh_static.lua:14

Makes the entity the owner is looking at static.

Parameters

  • _trace Map trace result of the tool owner's aim

Returns

  • Boolean always true

TOOL:RightClick(_trace)

shared plugins/staticents/plugin/tools/sh_static.lua:27

Removes the static status of the entity the owner is looking at.

Parameters

  • _trace Map trace result of the tool owner's aim

Returns

  • Boolean always true

Defined in