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