# CFX::GET_PLAYER_INVINCIBLE

- **Hash:** `0x680C90EE`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetPlayerInvincible`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_PLAYER_INVINCIBLE

## Signature

```c
BOOL GET_PLAYER_INVINCIBLE(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`) — The player handle

## Returns

`BOOL` — A boolean to tell if the player is invincible.

## Usage

### Lua

```lua
local retval = GetPlayerInvincible(playerSrc)

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

### JavaScript

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

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

### C#

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

## See also

- [CFX::SET_PLAYER_INVINCIBLE](https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_INVINCIBLE.md) — Make the player impervious to all forms of damage.

*Sources: Cfx.re native reference.*
