Garry's Mod Wiki

Entity:GetCallbacks

  table Entity:GetCallbacks( string hook )

Description

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

The callbacks can then be removed with Entity:RemoveCallback.

Arguments

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

Returns

1 table
A table containing the callbackid and function of all the callbacks for the specified hook