Garry's Mod Wiki

Revision Difference

Entity:RemoveCallback#518330

<function name="RemoveCallback" parent="Entity" type="classfunc"> <description>Removes a callback previously added with <page>Entity:AddCallback</page></description> <realm>Shared</realm> <args> <arg name="hook" type="string">The hook name to remove. See &lt;page&gt;Entity Callbacks&lt;/page&gt;</arg>⤶ <arg name="callbackid" type="number">The callback id previously retrieved with the return of &lt;page&gt;Entity:AddCallback&lt;/page&gt; or &lt;page&gt;Entity:GetCallbacks&lt;/page&gt;</arg>⤶ <arg name="hook" type="string">The hook name to remove. See <page>Entity Callbacks</page></arg>⤶ <arg name="callbackid" type="number">The callback id previously retrieved with the return of <page>Entity:AddCallback</page> or <page>Entity:GetCallbacks</page></arg>⤶ </args> </function>