Scripting/Server/Functions/GetCheckpointCount

Number of active checkpoints (GetSphereCount() does not count them).

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.

Section: Creating world entities

Categories: Server functions | Creating world entities