Garry's Mod Wiki

Entity:RemoveCallOnRemove

  Entity:RemoveCallOnRemove( string identifier )

Description

Removes a function previously added via Entity:CallOnRemove.

Arguments

1 string identifier
Identifier of the function within CallOnRemove

Example

Removes the call to stop an engine's sounds when the entity is removed

Entity:RemoveCallOnRemove("StopEngineSound")