Entity/GetCallbacks

From Garry's Mod
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.

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