Scripting/Server/Functions/GetCheckpointCount
Number of active checkpoints (GetSphereCount() does not count them).
Contents
Syntax
GetCheckpointCount()Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "getcheckpointcount" )
{
GetCheckpointCount();
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- CreateVehicle
- CreateObject
- CreatePickup
- CreateWeaponPickup
- CreateSphere
- CreateClientSphere
- CreateCheckpoint
- CreateClientCheckpoint
- FindCheckpoint
- CreateBlip
- CreateClientBlip
- GangZoneCreate
Section: Creating world entities
Categories: Server functions | Creating world entities