# HUD::GET_NAMED_RENDERTARGET_RENDER_ID

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

## Signature

```c
int GET_NAMED_RENDERTARGET_RENDER_ID(const char* name);
```

## Parameters

- `name` (`const char*`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetNamedRendertargetRenderId(name)

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

### JavaScript

```js
const retval = GetNamedRendertargetRenderId(name);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
