The FiveM 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 / FiveM
Native reference
- MISCvoid
LOAD_CLOUD_HAT
``` The following cloudhats are useable: altostratus Cirrus cirrocumulus Clear 01 Cloudy 01 Contrails Horizon horizonband1 horizonband2 horizonband3 horsey Nimbus Puffs RAIN Snowy 01 Stormy 01 stratoscumulus Stripey shower Wispy ```
0xFC4842A34657BFCB - MISCvoid
NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME
Description not yet documented
0x9243BAC96D64C050 - MISCvoid
NEXT_ONSCREEN_KEYBOARD_RESULT_WILL_DISPLAY_USING_THESE_FONTS
```cpp enum eFontBitField { FONT_BIT_STANDARD = 1, FONT_BIT_CURSIVE = 2, FONT_BIT_ROCKSTAR_TAG = 4 FONT_BIT_LEADERBOARD = 8 FONT_BIT_CONDENSED = 16 FONT_BIT_FIXED_WIDTH_NUMBERS = 32 FONT_BIT_CONDENSED_NOT_GAMERNAME = 64 FONT_BIT_PRICEDOWN = 128 }; ```
0x3ED1438C1F5C6612 - MISCBOOL
OVERRIDE_SAVE_HOUSE
Description not yet documented
0x1162EA8AE9D24EEA - MISCvoid
PAUSE_DEATH_ARREST_RESTART
Description not yet documented
0x2C2B3493FBF51C71 - MISCvoid
PLAY_TENNIS_DIVE_ANIM
Description not yet documented
0x8FA9C42FC5D7C64B - MISCvoid
PLAY_TENNIS_SWING_ANIM
Description not yet documented
0xE266ED23311F24D4 - MISCvoid
POPULATE_NOW
``` spawns a few distant/out-of-sight peds, vehicles, animals etc each time it is called ```
0x7472BB270D7B4F3E - MISCvoid
PRELOAD_CLOUD_HAT
``` Found in the scripts: MISC::_11B56FBBF7224868("CONTRAILS"); ```
0x11B56FBBF7224868 - MISCBOOL
QUEUE_MISSION_REPEAT_LOAD
Description not yet documented
0x72DE52178C291CB5 - MISCBOOL
QUEUE_MISSION_REPEAT_SAVE
Shows the screen which is visible before you redo a mission? The game will make a restoration point where you will cameback when the mission is over.
0x44A0BDC559B35F6E - MISCvoid
QUIT_GAME
Quits the game.
0xEB6891F03362FB12 - MISCvoid
REGISTER_BOOL_TO_SAVE
Description not yet documented
0xC8F4131414C835A1 - MISCvoid
REGISTER_ENUM_TO_SAVE
Description not yet documented
0x10C2FA78D0E128A1 - MISCvoid
REGISTER_FLOAT_TO_SAVE
Description not yet documented
0x7CAEC29ECB5DFEBB - MISCvoid
_REGISTER_INT64_TO_SAVE
Description not yet documented
0xA735353C77334EA0 - MISCvoid
REGISTER_INT_TO_SAVE
Description not yet documented
0x34C9EE5986258415 - MISCAny
REGISTER_SAVE_HOUSE
Description not yet documented
0xC0714D0A7EEECA54 - MISCvoid
REGISTER_TEXT_LABEL_TO_SAVE
Description not yet documented
0xEDB1232C5BEAE62F - MISCvoid
_REGISTER_TEXT_LABEL_TO_SAVE_2
``` Seems to have the same functionality as REGISTER_TEXT_LABEL_TO_SAVE? MISC::_6F7794F28C6B2535(&a_0._f1, "tlPlateText"); MISC::_6F7794F28C6B2535(&a_0._f1C, "tlPlateText_pending"); MISC::_6F7794F28C6B2535(&a_0._f10B, "tlCarAppPlateText"); "tl" prefix sounds like "Text Label" ```
0x6F7794F28C6B2535 - MISCvoid
REMOVE_DISPATCH_SPAWN_BLOCKING_AREA
Description not yet documented
0x264AC28B01B353A5 - MISCvoid
REMOVE_POP_MULTIPLIER_AREA
Description not yet documented
0xB129E447A2EDA4BF - MISCvoid
REMOVE_POP_MULTIPLIER_SPHERE
Description not yet documented
0xE6869BECDD8F2403 - MISCvoid
_REMOVE_STEALTH_KILL
``` Appears to remove stealth kill action from memory ```
0xA6A12939F16D85BE - MISCvoid
_RESET_BENCHMARK_RECORDING
``` Begins with RESET_*. Next character in the name is either D or E. ```
0x437138B6A830166A - MISCvoid
RESET_DISPATCH_IDEAL_SPAWN_DISTANCE
Description not yet documented
0x77A84429DD9F0A15 - MISCvoid
RESET_DISPATCH_SPAWN_BLOCKING_AREAS
Description not yet documented
0xAC7BFD5C1D83EA75 - MISCvoid
_RESET_DISPATCH_SPAWN_LOCATION
``` NativeDB Introduced: v1868 ```
0x5896F2BD5683A4E1 - MISCvoid
RESET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS
``` NativeDB Introduced: v323 ```
0xEB2DB0CAD13154B3 - MISCvoid
RESTART_GAME
In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows the `Disconnecting from GTA Online` warning screen message and quits the game. After quitting, the game process is started again (as the name implies).
0xE574A662ACAEFBB1 - MISCvoid
_SAVE_BENCHMARK_RECORDING
``` Saves the benchmark recording to %USERPROFILE%\Documents\Rockstar Games\GTA V\Benchmarks and submits some metrics. ```
0x37DEB0AA183FB6D8 - MISCBOOL
SCRIPT_RACE_GET_PLAYER_SPLIT_TIME
Description not yet documented
0x8EF5573A1F801A5C - MISCvoid
SCRIPT_RACE_INIT
Initializes a script race in GTA:Online and sets up the helper split time system. ``` NativeDB Introduced: v323 ```
0x0A60017F841A54F2 - MISCvoid
SCRIPT_RACE_PLAYER_HIT_CHECKPOINT
Records that a player has successfully passed a checkpoint during a scripted race in GTA:Online. This native should be used after initializing the race with [`SCRIPT_RACE_INIT`](#\_0x0A60017F841A54F2). ``` NativeDB Introduced: v323 ```
0x1BB299305C3E8C13 - MISCvoid
SCRIPT_RACE_SHUTDOWN
Description not yet documented
0x1FF6BF9A63E5757F - MISCvoid
_SET_BEAST_MODE_ACTIVE
Description not yet documented
0x438822C279B73B93 - MISCvoid
SET_BIT
``` This sets bit [offset] of [address] to on. The offsets used are different bits to be toggled on and off, typically there is only one address used in a script. Example: MISC::SET_BIT(&bitAddress, 1); To check if this bit has been enabled: MISC::IS_BIT_SET(bitAddress, 1); // will return 1 afterwards Please note, this method may assign a value to [address] when used. ```
0x933D6A9EEC1BACD0 - MISCvoid
SET_BITS_IN_RANGE
Description not yet documented
0x8EF07E15701D61ED - MISCvoid
SET_CLOUDS_ALPHA
Allows modification of the cloud opacity. It can also be used in other contexts, such as when the player is in a switch state [`IS_PLAYER_SWITCH_IN_PROGRESS`](#\_0xD9D2CFFF49FAB35F).
0xF36199225D6D8C86 - MISCvoid
SET_CLOUD_SETTINGS_OVERRIDE
Overrides the cloud settings, which are normally controlled by the weather, with the specified named version. This native allows for custom cloud formations and behaviors that deviate from the default settings associated with the game's current weather conditions. ``` NativeDB Introduced: v323 ```
0x02DEAAC8F8EA7FE7
A living reference. Documentation coverage varies by native and source.