Click or drag to resize

BasePlayerSetRaceCheckpoint Method

Creates a race checkpoint. When this BasePlayer enters it, the EnterRaceCheckpoint callback is called.

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

Parameters

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