OnObjectDestroyed

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
Called when an object is destroyed/streamed out.


Parameters:

( objectId )

objectId : The ID of the object


Return Values:
This function does not return any specific values.


Example

function OnObjectDestroyed(objectId)
{
SendChat("Where did object" + objectId + "go?");
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.