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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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