# UIAPPS::LAUNCH_UIAPP_BY_HASH

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

## Signature

```c
int LAUNCH_UIAPP_BY_HASH(Hash appNameHash);
```

## Parameters

- `appNameHash` (`Hash`)

## Returns

`int`

## Description

*Source: VORPCORE RDR3natives*

Lauches the specified UI app by its hash.

## Usage

### Lua

```lua
local retval = LaunchUiappByHash(appNameHash)

-- always available, by hash
local retval = Citizen.InvokeNative(0xC8FC7F4E4CF4F581, appNameHash, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = LaunchUiappByHash(appNameHash);

// by hash
const retval = Citizen.invokeNative('0xC8FC7F4E4CF4F581', appNameHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xC8FC7F4E4CF4F581, appNameHash);
```

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

## See also

- [UIAPPS::_CLOSE_UIAPP_BY_HASH](https://natives.borderlinerp.com/natives/UIAPPS/_CLOSE_UIAPP_BY_HASH.md) — Closes Ui App by hash

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
