The Lab
HUD native

LINK_NAMED_RENDERTARGET

returns void1 parambuild 1207

Links the model modelHash to the currently registered named render target so drawing appears on that model.

Signature

C
void LINK_NAMED_RENDERTARGET(Hash modelHash); // 0x2F506B8556242DDB b1207

Parameters

#NameType
1modelHashHash

Facts

Facts about LINK_NAMED_RENDERTARGET
Name
LINK_NAMED_RENDERTARGET
Hash
0x2F506B8556242DDB
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x2F506B8556242DDB, -- LINK_NAMED_RENDERTARGET
  GetHashKey("a_c_horse_arabian_white") -- Hash modelHash
)
JavaScript
Citizen.invokeNative("0x2F506B8556242DDB", // LINK_NAMED_RENDERTARGET
  GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);
C#
Function.Call((Hash)0x2F506B8556242DDB, // LINK_NAMED_RENDERTARGET
  (uint)API.GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);
All HUD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.