# VEHICLE::HAS_VEHICLE_ASSET_LOADED

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

## Signature

```c
BOOL HAS_VEHICLE_ASSET_LOADED(Hash vehicleAsset);
```

## Parameters

- `vehicleAsset` (`Hash`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = HasVehicleAssetLoaded(vehicleAsset)

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

### JavaScript

```js
const retval = HasVehicleAssetLoaded(vehicleAsset);

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

### C#

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

- 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.*
