OnObjectStreamIn

From NPC for VCMP 0.4 Servers
Revision as of 08:52, 14 November 2023 by Habi (talk | contribs)
Jump to navigation Jump to search


Description:
Called when an object is streamed in for npc.


Parameters:

( objectId )

objectId : The ID of the object


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


Example

function OnObjectStreamIn(objectId)
{
local model=GetObjectModel(objectId);
SendChat("What object is this? - "+ model);
}

relfuncs=*OnObjectDestroyed