Garry's Mod Wiki


  ents.FireTargets( string target, Entity activator, Entity caller, number usetype, number value )


Fires a use event.


1 string target
Name of the target entity.
2 Entity activator
Activator of the event.
3 Entity caller
Caller of the event.
4 number usetype
Use type. See the USE enum.
5 number value
This value is passed to ENTITY:Use, but isn't used by any default entities in the engine.