setCheckpointCylinderHeight
SET_CHECKPOINT_CYLINDER_HEIGHT0x2707AAE9D9297D89The 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.
setCheckpointCylinderHeight(
checkpoint: number,
nearHeight: number,
farHeight: number,
radius: number
): voidsetCheckpointCylinderHeight(
checkpoint: integer,
nearHeight: number,
farHeight: number,
radius: number
)Usage
JavaScript
setCheckpointCylinderHeight(checkpoint, nearHeight, farHeight, radius);Lua
setCheckpointCylinderHeight(checkpoint, nearHeight, farHeight, radius)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
checkpoint | int | number | integer |
nearHeight | float | number | number |
farHeight | float | number | number |
radius | float | number | number |
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