Click or drag to resize

PlayerSetRaceCheckpoint Method

Creates a race checkpoint. When this player enters it, EnterRaceCheckpoint event is called.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public void SetRaceCheckpoint(
	CheckpointType type,
	Vector3 point,
	Vector3 nextPosition,
	float size
)

Parameters

type
Type: SampSharp.Entities.SAMPCheckpointType
Type of checkpoint.
point
Type: SampSharp.Entities.SAMPVector3
The point to set the checkpoint at.
nextPosition
Type: SampSharp.Entities.SAMPVector3
Coordinates of the next point, for the arrow facing direction.
size
Type: SystemSingle
Length (diameter) of the checkpoint
See Also