# GRAPHICS::SET_CHECKPOINT_RGBA2

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

## Signature

```c
void SET_CHECKPOINT_RGBA2(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 icon color.

## Usage

### Lua

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

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
