# NETWORK::SET_LOCAL_PLAYER_AS_GHOST

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

## Signature

```c
void SET_LOCAL_PLAYER_AS_GHOST(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Description

Old name: _SET_LOCAL_PLAYER_AS_GHOST

## Usage

### Lua

```lua
SetLocalPlayerAsGhost(toggle)

-- always available, by hash
Citizen.InvokeNative(0x5FFE9B4144F9712F, toggle)
```

### JavaScript

```js
SetLocalPlayerAsGhost(toggle);

// by hash
Citizen.invokeNative('0x5FFE9B4144F9712F', toggle);
```

### C#

```csharp
Function.Call((Hash)0x5FFE9B4144F9712F, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
