LINK_NAMED_RENDERTARGET
Links the model modelHash to the currently registered named render target so drawing appears on that model.
Signature
void LINK_NAMED_RENDERTARGET(Hash modelHash); // 0x2F506B8556242DDB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | modelHash | Hash |
Facts
| 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.
Citizen.InvokeNative(0x2F506B8556242DDB, -- LINK_NAMED_RENDERTARGET
GetHashKey("a_c_horse_arabian_white") -- Hash modelHash
)Citizen.invokeNative("0x2F506B8556242DDB", // LINK_NAMED_RENDERTARGET
GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);Function.Call((Hash)0x2F506B8556242DDB, // LINK_NAMED_RENDERTARGET
(uint)API.GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);Related HUD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.