OnObjectDestroyed

From NPC for VCMP 0.4 Servers
Revision as of 08:58, 14 November 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.