OnCheckpointDestroyed

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


Description:
Called when a checkpoint is destroyed/streamed out. Server sends this also when npc is far away(stream out) from checkpoint.


Parameters:

( checkpointId )

checkpointId : The ID of the checkpoint destroyed/streamedout.


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


Example

function OnCheckpointDestroyed(checkpointId)
{
print("The checkpoint  "+ checkpointId+ " is destroyed! );
}

Related Functions

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