setCheckpointRgba
SET_CHECKPOINT_RGBA0x7167371E8AD747F7The GTA V native SET_CHECKPOINT_RGBA of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setCheckpointRgba, in JavaScript and in Lua.
setCheckpointRgba(
checkpoint: number,
red: number,
green: number,
blue: number,
alpha: number
): voidsetCheckpointRgba(
checkpoint: integer,
red: integer,
green: integer,
blue: integer,
alpha: integer
)Usage
JavaScript
setCheckpointRgba(checkpoint, red, green, blue, alpha);Lua
setCheckpointRgba(checkpoint, red, green, blue, alpha)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
checkpoint | int | number | integer |
red | int | number | integer |
green | int | number | integer |
blue | int | number | integer |
alpha | int | number | integer |
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 checkpoint color.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_CHECKPOINT_RGBA(int checkpoint, int red, int green, int blue, int alpha)- Hash
0x7167371E8AD747F7