OnCheckpointDestroyed

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