# STREAMING::HAS_MODEL_LOADED

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

## Signature

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

## Parameters

- `model` (`Hash`)

## Returns

`BOOL`

## Description

Checks if the specified model has loaded into memory.

## Usage

### Lua

```lua
local retval = HasModelLoaded(model)

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

### JavaScript

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

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x1283B8B89DD5D1B6, 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.*
