Revision Difference
Entity:SetUseType#514459
<function name="SetUseType" parent="Entity" type="classfunc">⤶
	<description>Sets the use type of an entity, affecting how often <page>ENTITY:Use</page> will be called for Lua entities.</description>⤶
	<realm>Server</realm>⤶
	<args>⤶
		<arg name="useType" type="number">The use type to apply to the entity. Uses <page>_USE</page>.</arg>⤶
	</args>⤶
</function>⤶
⤶
<example>⤶
	<description>Makes the <page>ENTITY:Use</page> hook only get called once at every use.</description>⤶
	<code>Entity:SetUseType( SIMPLE_USE )</code>⤶
⤶
</example>
			Garry's Mod 
		
			Rust 
		
			Steamworks 
		
			Wiki Help