Checkpoints are 3D visual markers used for races, missions, and navigation. They are
larger and more visible than standard markers. Use CreateCheckpoint to place them.
-- Create a checkpoint
local checkpoint = CreateCheckpoint(
2, -- Type (thick chevron up)
x1, y1, z1, -- Position
x2, y2, z2, -- Point towards (next checkpoint)
5.0, -- Radius
255, 255, 0, 100, -- RGBA colour
0 -- Reserved
)
-- Delete when done
DeleteCheckpoint(checkpoint)// JavaScript equivalent
const checkpoint = CreateCheckpoint(2, x1, y1, z1, x2, y2, z2, 5.0, 255, 255, 0, 100, 0);
DeleteCheckpoint(checkpoint);| ID | Name | Description |
|---|---|---|
| CylinderSingleArrow | Cylinder with single arrow | |
| CylinderDoubleArrow | Cylinder with double arrow | |
| CylinderTripleArrow | Cylinder with triple arrow | |
| CylinderCycleArrow | Cylinder with cycling arrow | |
| CylinderCheckerboard | Cylinder with checkerboard | |
| CylinderWrench | Cylinder with wrench icon | |
| CylinderSingleArrow2 | Cylinder with single arrow variant 2 | |
| CylinderDoubleArrow2 | Cylinder with double arrow variant 2 | |
| CylinderTripleArrow2 | Cylinder with triple arrow variant 2 | |
| CylinderCycleArrow2 | Cylinder with cycling arrow variant 2 | |
| CylinderCheckerboard2 | Cylinder with checkerboard variant 2 | |
| CylinderWrench2 | Cylinder with wrench icon variant 2 | |
| RingSingleArrow | Ring with single arrow | |
| RingDoubleArrow | Ring with double arrow | |
| RingTripleArrow | Ring with triple arrow | |
| RingCycleArrow | Ring with cycling arrow | |
| RingCheckerboard | Ring with checkerboard | |
| SingleArrow | Single arrow (no cylinder) | |
| DoubleArrow | Double arrow (no cylinder) | |
| TripleArrow | Triple arrow (no cylinder) | |
| CycleArrow | Cycling arrow (no cylinder) | |
| Checkerboard | Checkerboard (no cylinder) | |
| CylinderSingleArrow3 | Cylinder single arrow variant 3 | |
| CylinderDoubleArrow3 | Cylinder double arrow variant 3 | |
| CylinderTripleArrow3 | Cylinder triple arrow variant 3 | |
| CylinderCycleArrow3 | Cylinder cycling arrow variant 3 | |
| CylinderCheckerboard3 | Cylinder checkerboard variant 3 | |
| CylinderSingleArrow4 | Small cylinder single arrow | |
| CylinderDoubleArrow4 | Small cylinder double arrow | |
| CylinderTripleArrow4 | Small cylinder triple arrow | |
| CylinderCycleArrow4 | Small cylinder cycling arrow | |
| CylinderCheckerboard4 | Small cylinder checkerboard | |
| CylinderSingleArrow5 | Cylinder with single arrow variant 5 | |
| CylinderDoubleArrow5 | Cylinder with double arrow variant 5 | |
| CylinderTripleArrow5 | Cylinder with triple arrow variant 5 | |
| CylinderCycleArrow5 | Cylinder with cycling arrow variant 5 | |
| CylinderCheckerboard5 | Cylinder with checkerboard variant 5 | |
| RingSingleArrow3 | Ring with single arrow variant 3 | |
| RingDoubleArrow3 | Ring with double arrow variant 3 | |
| RingTripleArrow3 | Ring with triple arrow variant 3 | |
| RingCycleArrow3 | Ring with cycling arrow variant 3 | |
| RingCheckerboard3 | Ring with checkerboard variant 3 | |
| Cylinder | Plain cylinder | |
| Cylinder1 | Plain cylinder variant | |
| Cylinder2 | Plain cylinder variant 2 | |
| RingSingleArrow2 | Ring with arrow | |
| RingPlane | Ring for plane checkpoint | |
| RingChopper | Ring for helicopter checkpoint |