GraphicsClient

setCheckpointRgba

SET_CHECKPOINT_RGBA0x7167371E8AD747F7

The 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.

SignatureJavaScript
setCheckpointRgba(
  checkpoint: number,
  red: number,
  green: number,
  blue: number,
  alpha: number
): void
SignatureLua
setCheckpointRgba(
  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

ParameterTypeJavaScriptLua
checkpointintnumberinteger
redintnumberinteger
greenintnumberinteger
blueintnumberinteger
alphaintnumberinteger

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

Open in the interactive natives reference