# CFX::DOES_ENTITY_EXIST

- **Hash:** `0x3AC90869`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `DoesEntityExist`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/DOES_ENTITY_EXIST

## Signature

```c
BOOL DOES_ENTITY_EXIST(Object entity);
```

## Parameters

- `entity` (`Object`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = DoesEntityExist(entity)

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

### JavaScript

```js
const retval = DoesEntityExist(entity);

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

### C#

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

*Sources: Cfx.re native reference.*
