# STREAMING::IS_MODEL_IN_CDIMAGE

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

## Signature

```c
BOOL IS_MODEL_IN_CDIMAGE(Hash model);
```

## Parameters

- `model` (`Hash`)

## Returns

`BOOL`

## Description

Returns whether the specified model exists in the game.

## Usage

### Lua

```lua
local retval = IsModelInCdimage(model)

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

### JavaScript

```js
const retval = IsModelInCdimage(model);

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

### C#

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

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: alloc8or RDR3 NativeDB.*
