Garry's Mod Wiki


You might be looking for the "ENTITY:Use" hook, which has the same name as this method.
Entity:Use( Entity activator, Entity caller, number useType, number value )


Simulates a +use action on an entity.


1 Entity activator
The entity that caused this input. This will usually be the player who pressed their use key
2 Entity caller
The entity responsible for the input. This will typically be the same as activator unless some other entity is acting as a proxy
3 number useType
Use type, see Enums/USE.
4 number value
Any value.

Page Links

Special Pages



Render Time: 32ms

DB GetPage 4
Generate Html 6
SaveChanges (1) 10
Render Body 0
Render Sidebar 10