Garry's Mod Wiki
You might be looking for the "Entity:Use" method, which has the same name as this hook.
Description
Called when an entity "uses" this entity, for example a player pressing their +use
key (default e) on this entity.
To change how often the hook is called, see Entity:SetUseType.
This hook only works for
nextbot
, ai
and anim
scripted entity types.Arguments
Example
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...