_GET_HUD_VISIBILITY_SLOT_STATE
Based on its name and signature, here is our best reading:
Returns the visibility state of the HUD slot hudSlot.
Signature
int _GET_HUD_VISIBILITY_SLOT_STATE(int hudSlot); // 0x7EC0D68233E391AC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | hudSlot | int |
Facts
| Name | _GET_HUD_VISIBILITY_SLOT_STATE |
|---|---|
| Hash | 0x7EC0D68233E391AC |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7EC0D68233E391AC, -- _GET_HUD_VISIBILITY_SLOT_STATE
0, -- int hudSlot
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x7EC0D68233E391AC", // _GET_HUD_VISIBILITY_SLOT_STATE
0, // int hudSlot
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x7EC0D68233E391AC, // _GET_HUD_VISIBILITY_SLOT_STATE
0 // int hudSlot
);Related HUD natives
- _HUD_GET_INVENTORY_WHEEL_CURRENTLY_HIGHLIGHTED
- GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION
- _GET_COLOR_FROM_NAME
- _GET_LABEL_TEXT_2
- _GET_TEXT_SUBSTRING_2
- _GET_TEXT_SUBSTRING_3
- _DISABLE_HUD_CONTEXT
- _ENABLE_HUD_CONTEXT
- _ENABLE_HUD_CONTEXT_THIS_FRAME
- _HUD_CHECK_CLOSEST_HORSE
- _HUD_HIDE_THIS_FRAME
- _JOURNAL_GET_ENTRY_AT_INDEX
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.