GraphicsClient

setCheckpointClipplaneWithPosNorm

SET_CHECKPOINT_CLIPPLANE_WITH_POS_NORM0xF51D36185993515D

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

SignatureJavaScript
setCheckpointClipplaneWithPosNorm(
  checkpoint: number,
  posX: number,
  posY: number,
  posZ: number,
  unkX: number,
  unkY: number,
  unkZ: number
): void
SignatureLua
setCheckpointClipplaneWithPosNorm(
  checkpoint: integer,
  posX: number,
  posY: number,
  posZ: number,
  unkX: number,
  unkY: number,
  unkZ: number
)

Usage

JavaScript
setCheckpointClipplaneWithPosNorm(checkpoint, posX, posY, posZ, unkX, unkY, unkZ);
Lua
setCheckpointClipplaneWithPosNorm(checkpoint, posX, posY, posZ, unkX, unkY, unkZ)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
setCheckpointClipplaneWithPosNorm(checkpoint, pos, unk);
Lua · with vectors
setCheckpointClipplaneWithPosNorm(checkpoint, pos, unk)

Parameters

ParameterTypeJavaScriptLua
checkpointintnumberinteger
posXfloatnumbernumber
posYfloatnumbernumber
posZfloatnumbernumber
unkXfloatnumbernumber
unkYfloatnumbernumber
unkZfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_CHECKPOINT_CLIPPLANE_WITH_POS_NORM(int checkpoint, float posX, float posY, float posZ, float unkX, float unkY, float unkZ)
Hash
0xF51D36185993515D

Open in the interactive natives reference