# NETWORK::SET_PLAYER_VISIBLE_LOCALLY

- **Hash:** `0xFAA10F1FAFB11AF2`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `SetPlayerVisibleLocally`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/SET_PLAYER_VISIBLE_LOCALLY

## Signature

```c
void SET_PLAYER_VISIBLE_LOCALLY(Player player, BOOL toggle);
```

## Parameters

- `player` (`Player`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetPlayerVisibleLocally(player, toggle)

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

### JavaScript

```js
SetPlayerVisibleLocally(player, toggle);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
