# PLAYER::GET_PLAYER_INVINCIBLE

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

## Signature

```c
BOOL GET_PLAYER_INVINCIBLE(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`BOOL`

## Description

Returns the player's invincibility status.

## Usage

### Lua

```lua
local retval = GetPlayerInvincible(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0x0CBBCB2CCFA7DC4E, player, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = GetPlayerInvincible(player);

// by hash
const retval = Citizen.invokeNative('0x0CBBCB2CCFA7DC4E', player, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x0CBBCB2CCFA7DC4E, player);
```

## See also

- [PLAYER::SET_PLAYER_INVINCIBLE](https://natives.borderlinerp.com/natives/PLAYER/SET_PLAYER_INVINCIBLE.md) — Simply sets you as invincible (Health will not deplete).

*Sources: alloc8or RDR3 NativeDB.*
