GetCheckpointRadius

From NPC for VCMP 0.4 Servers
Revision as of 09:49, 12 November 2023 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Returns the radius of a checkpoint.


Parameters:

( checkpointId )

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


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


Example

if(IsCheckpointStreamedIn( checkpointId))
{
local radius = GetCheckpointRadius( checkpointId);
}

Related Functions

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