# HUD::LINK_NAMED_RENDERTARGET

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

## Signature

```c
void LINK_NAMED_RENDERTARGET(Hash modelHash);
```

## Parameters

- `modelHash` (`Hash`)

## Returns

`void`

## Usage

### Lua

```lua
LinkNamedRendertarget(modelHash)

-- always available, by hash
Citizen.InvokeNative(0x2F506B8556242DDB, modelHash)
```

### JavaScript

```js
LinkNamedRendertarget(modelHash);

// by hash
Citizen.invokeNative('0x2F506B8556242DDB', modelHash);
```

### C#

```csharp
Function.Call((Hash)0x2F506B8556242DDB, modelHash);
```

- 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

- [HUD::REGISTER_NAMED_RENDERTARGET](https://natives.borderlinerp.com/natives/HUD/REGISTER_NAMED_RENDERTARGET.md)
- [HUD::RELEASE_NAMED_RENDERTARGET](https://natives.borderlinerp.com/natives/HUD/RELEASE_NAMED_RENDERTARGET.md)

*Sources: alloc8or RDR3 NativeDB.*
