Entity/GetCallbacks

From Garry's Mod
Revision as of 13:38, 20 June 2017 by Jvs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:GetCallbacks( )

Description

Returns the specified hook callbacks for this entity added with Entity:AddCallback

The callbacks can then be removed with Entity:RemoveCallback.


Next Update Change

This feature is only available in the next update.

Arguments

string hook

The hook to retrieve the callbacks from, see Entity Callbacks for the possible hooks.

Returns

table

A table containing the callbackid and function of all the callbacks for the specified hook
Personal tools
Navigation