GraphicsClient

setCheckpointForceDirection

SET_CHECKPOINT_FORCE_DIRECTION0xDB1EA9411C8911EC

The GTA V native SET_CHECKPOINT_FORCE_DIRECTION of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setCheckpointForceDirection, in JavaScript and in Lua.

SignatureJavaScript
setCheckpointForceDirection(checkpoint: number): void
SignatureLua
setCheckpointForceDirection(checkpoint: integer)

Usage

JavaScript
setCheckpointForceDirection(checkpoint);
Lua
setCheckpointForceDirection(checkpoint)

Parameters

ParameterTypeJavaScriptLua
checkpointintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_CHECKPOINT_FORCE_DIRECTION(int checkpoint)
Hash
0xDB1EA9411C8911EC
Introduced
Game build 1180 legacy numbering

Open in the interactive natives reference