IS_NAMED_RENDERTARGET_LINKED
Returns true if the model modelHash is linked to a named render target.
Signature
BOOL IS_NAMED_RENDERTARGET_LINKED(Hash modelHash); // 0x707032835FF09AE7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | modelHash | Hash |
Facts
| Name | IS_NAMED_RENDERTARGET_LINKED |
|---|---|
| Hash | 0x707032835FF09AE7 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x707032835FF09AE7, -- IS_NAMED_RENDERTARGET_LINKED
GetHashKey("a_c_horse_arabian_white") -- Hash modelHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x707032835FF09AE7", // IS_NAMED_RENDERTARGET_LINKED
GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x707032835FF09AE7, // IS_NAMED_RENDERTARGET_LINKED
(uint)API.GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);Related HUD natives
- IS_NAMED_RENDERTARGET_REGISTERED
- GET_NAMED_RENDERTARGET_RENDER_ID
- LINK_NAMED_RENDERTARGET
- REGISTER_NAMED_RENDERTARGET
- RELEASE_NAMED_RENDERTARGET
- IS_HUD_HIDDEN
- IS_MP_GAMER_TAG_ACTIVE
- IS_PAUSE_MENU_ACTIVE
- IS_RADAR_HIDDEN
- IS_RADAR_HIDDEN_BY_SCRIPT
- IS_RADAR_PREFERENCE_SWITCHED_ON
- IS_SUBTITLE_PREFERENCE_SWITCHED_ON
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.