Garry's Mod Wiki

Revision Difference

ents.FireTargets#514537

<function name="FireTargets" parent="ents" type="libraryfunc">⤶ <description>Fires a use event.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="target" type="string">Name of the target entity.</arg>⤶ <arg name="activator" type="Entity">Activator of the event.</arg>⤶ <arg name="caller" type="Entity">Caller of the event.</arg>⤶ <arg name="usetype" type="number">Use type. See the &lt;page&gt;USE&lt;/page&gt;.</arg>⤶ <arg name="value" type="number">This value is passed to &lt;page&gt;ENTITY:Use&lt;/page&gt;, but isn&#x27;t used by any default entities in the engine.</arg>⤶ </args>⤶ </function>⤶ ⤶