GetCheckpointPos

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


Description:
Returns the position of the checkpoint.


Parameters:

( checkpointId )

checkpointId : The ID of the checkpoint whose position is to be obtained.


Return Values:
The position of checkpoint as Vector. Throws error if checkpoint with the specified ID is not found.


Example

if(IsCheckpointStreamedIn( checkpointId))
{
local pos= GetCheckpointPos( checkpointId);
}

Related Functions

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