GraphicsClient

setCheckpointCylinderHeight

SET_CHECKPOINT_CYLINDER_HEIGHT0x2707AAE9D9297D89

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

SignatureJavaScript
setCheckpointCylinderHeight(
  checkpoint: number,
  nearHeight: number,
  farHeight: number,
  radius: number
): void
SignatureLua
setCheckpointCylinderHeight(
  checkpoint: integer,
  nearHeight: number,
  farHeight: number,
  radius: number
)

Usage

JavaScript
setCheckpointCylinderHeight(checkpoint, nearHeight, farHeight, radius);
Lua
setCheckpointCylinderHeight(checkpoint, nearHeight, farHeight, radius)

Parameters

ParameterTypeJavaScriptLua
checkpointintnumberinteger
nearHeightfloatnumbernumber
farHeightfloatnumbernumber
radiusfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Sets the cylinder height of the checkpoint.

Parameters:
* nearHeight - The height of the checkpoint when inside of the radius.
* farHeight - The height of the checkpoint when outside of the radius.
* radius - The radius of the checkpoint.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_CHECKPOINT_CYLINDER_HEIGHT(int checkpoint, float nearHeight, float farHeight, float radius)
Hash
0x2707AAE9D9297D89

Open in the interactive natives reference