# NETWORK::NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS

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

## Signature

```c
void NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS(Entity entity, BOOL toggle);
```

## Parameters

- `entity` (`Entity`)
- `toggle` (`BOOL`)

## Returns

`void`

## Description

if set to true other network players can't see it
if set to false other network player can see it
=========================================
^^ I attempted this by grabbing an object with GET_ENTITY_PLAYER_IS_FREE_AIMING_AT and setting this naive no matter the toggle he could still see it.

pc or last gen?

^^ last-gen

Old name: _NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK

## Usage

### Lua

```lua
NetworkSetEntityOnlyExistsForParticipants(entity, toggle)

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

### JavaScript

```js
NetworkSetEntityOnlyExistsForParticipants(entity, toggle);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
