The RedM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / RedM
Native reference
- HUDint
GET_LENGTH_OF_LITERAL_STRING
Returns the length of the string passed (much like strlen).
0x481FBF588B0B76DB - HUDint
GET_LENGTH_OF_LITERAL_STRING_IN_BYTES
Description not yet documented
0xDC5AD6B7AB8184F5 - HUDint
GET_NAMED_RENDERTARGET_RENDER_ID
Description not yet documented
0xB6762A85EE29AA60 - HUDint
_GET_NEAR_HORSE
This native accepts 1 as parameter in the decompiles returns the nearest horse handle if within 2 3 meters of the player, if not close enough returns false NOTE: if type is 0 returns PlayerPedId always?
0x0501D52D24EA8934 - HUDconst char*
GET_STRING_FROM_HASH_KEY
Returns the label text given the hash. Old name: _GET_LABEL_TEXT_BY_HASH
0xBD5DD5EAE2B6CE14 - HUDconst char*
_GET_TEXT_SUBSTRING_2
Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string
0xD8402B858F4DDD88 - HUDAny
_GET_TEXT_SUBSTRING_3
Example: HUD::_0x806862E5D266CF38(&string1, 0, HUD::GET_LENGTH_OF_LITERAL_STRING(&string1) - HUD::GET_LENGTH_OF_LITERAL_STRING("_DUALWIELD"))
0x806862E5D266CF38 - HUDvoid
HIDE_HUD_AND_RADAR_THIS_FRAME
Description not yet documented
0x36CDD81627A6FCD2 - HUDvoid
_HIDE_HUD_THIS_FRAME
Description not yet documented
0xBF4F34A85CA2970D - HUDvoid
HIDE_LOADING_ON_FADE_THIS_FRAME
Description not yet documented
0xEA600AABAF4B9084 - HUDHash
_HUD_WEAPON_WHEEL_GET_SELECTED_ITEM_HASH
Returns the hash of the currently highlighted item in the weapon wheel. Only works while the wheel is open otherwise will return false Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
0x9C409BBC492CB5B1 - HUDBOOL
IS_HUD_HIDDEN
Description not yet documented
0x71B72B478F8189DC - HUDBOOL
IS_MP_GAMER_TAG_ACTIVE
Description not yet documented
0x6E1C31E14C7A5F97 - HUDBOOL
_IS_MP_GAMER_TAG_ACTIVE_ON_ENTITY
Description not yet documented
0x502E1591A504F843 - HUDBOOL
IS_NAMED_RENDERTARGET_LINKED
Description not yet documented
0x707032835FF09AE7 - HUDBOOL
IS_NAMED_RENDERTARGET_REGISTERED
Description not yet documented
0x3EE32F7964C40FE6 - HUDBOOL
IS_PAUSE_MENU_ACTIVE
Returns true when either Pause Menu, a Frontend Menu, Online Policies menu or Social Club menu is active.
0x535384D6067BA42E - HUDBOOL
IS_RADAR_HIDDEN
Description not yet documented
0x1B82FD5FFA4D666E - HUDBOOL
IS_RADAR_HIDDEN_BY_SCRIPT
Description not yet documented
0x66F35DD9D2B58579 - HUDBOOL
IS_RADAR_PREFERENCE_SWITCHED_ON
Description not yet documented
0x81E47F0EE1F2B21E - HUDBOOL
IS_SUBTITLE_PREFERENCE_SWITCHED_ON
Description not yet documented
0x7C4AC9573587F2DF - HUDAny
_JOURNAL_CAN_WRITE_ENTRY
Description not yet documented
0xCF782691D91F270E - HUDvoid
_JOURNAL_CLEAR_ALL_PROGRESS
Description not yet documented
0xF402978DE6F88D6E - HUDAny
_JOURNAL_GET_ENTRY_AT_INDEX
Description not yet documented
0x3D16ABD7A1FD8C96 - HUDAny
_JOURNAL_GET_ENTRY_COUNT
Description not yet documented
0xE65B5DE53351BE22 - HUDAny
_JOURNAL_GET_ENTRY_INFO
Description not yet documented
0x5514C3E60673530F - HUDAny
_JOURNAL_GET_GRIME_AT_INDEX
Description not yet documented
0xCB5945E1B855852F - HUDAny
_JOURNAL_GET_TEXTURE_WITH_LAYOUT
Description not yet documented
0x62CC549B3B8EA2AA - HUDvoid
_JOURNAL_MARK_READ
Description not yet documented
0xE4509BABE59BD24E - HUDvoid
_JOURNAL_WRITE_ENTRY
Description not yet documented
0x6DFDD665E416B093 - HUDvoid
LINK_NAMED_RENDERTARGET
Description not yet documented
0x2F506B8556242DDB - HUDvoid
_MP_GAMER_TAG_DISABLE_REVIVE_TOP_ICON
Description not yet documented
0x1F9A64C2804B3471 - HUDvoid
_MP_GAMER_TAG_ENABLE_REVIVE_TOP_ICON
Description not yet documented
0xFFF6579CF0139FCE - HUDBOOL
REGISTER_NAMED_RENDERTARGET
Description not yet documented
0x98AF2BB6F62BD588 - HUDBOOL
RELEASE_NAMED_RENDERTARGET
Description not yet documented
0x0E692EE61761361F - HUDvoid
REMOVE_MP_GAMER_TAG
only works by invoking and passing as pointer value Citizen.InvokeNative(0x839BFD7D7E49FE09, Citizen.PointerValueIntInitialized(gamerTagId))
0x839BFD7D7E49FE09 - HUDvoid
_SET_CURRENT_UGC_MISSION_DESCRIPTION
string1 is the only string used in the scripts, the others are null (0)
0xCE0D2F5586627CCE - HUDvoid
SET_FRONTEND_ACTIVE
Description not yet documented
0xCE47C21C0687EBC2 - HUDvoid
SET_MISSION_NAME
Description not yet documented
0x402669A4BDAA72DA - HUDvoid
SET_MISSION_NAME_FOR_UGC_MISSION
Description not yet documented
0xD98630CE73C61E98
A living reference. Documentation coverage varies by native and source.