# GRAPHICS::SET_CHECKPOINT_RGBA

- **Hash:** `0xCAAFC225E33B1D15`
- **Namespace:** GRAPHICS
- **Runtime name (Lua/JS):** `SetCheckpointRgba`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GRAPHICS/SET_CHECKPOINT_RGBA

## Signature

```c
void SET_CHECKPOINT_RGBA(int checkpoint, int red, int green, int blue, int alpha);
```

## Parameters

- `checkpoint` (`int`)
- `red` (`int`)
- `green` (`int`)
- `blue` (`int`)
- `alpha` (`int`)

## Returns

`void`

## Description

Sets the checkpoint color.

## Usage

### Lua

```lua
SetCheckpointRgba(checkpoint, red, green, blue, alpha)

-- always available, by hash
Citizen.InvokeNative(0xCAAFC225E33B1D15, checkpoint, red, green, blue, alpha)
```

### JavaScript

```js
SetCheckpointRgba(checkpoint, red, green, blue, alpha);

// by hash
Citizen.invokeNative('0xCAAFC225E33B1D15', checkpoint, red, green, blue, alpha);
```

### C#

```csharp
Function.Call((Hash)0xCAAFC225E33B1D15, checkpoint, red, green, blue, alpha);
```

*Sources: alloc8or RDR3 NativeDB.*
