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
- MISCBOOL
HAVE_CREDITS_REACHED_END
Description not yet documented
0x075F1D57402C93BA - MISCvoid
IGNORE_NEXT_RESTART
Description not yet documented
0x21FFB63D8C615361 - MISCBOOL
IS_AREA_OCCUPIED
Description not yet documented
0xA61B4DF533DCB56E - MISCBOOL
IS_AUSSIE_VERSION
``` if (MISC::IS_AUSSIE_VERSION()) { sub_127a9(&l_31, 1024); // l_31 |= 1024 l_129 = 3; sub_129d2("AUSSIE VERSION IS TRUE!?!?!"); // DEBUG } Used to block some of the prostitute stuff due to laws in Australia. ```
0x9F1935CA1F724008 - MISCBOOL
IS_AUTO_SAVE_IN_PROGRESS
Description not yet documented
0x69240733738C19A0 - MISCBOOL
IS_BIT_SET
``` Returns bit's boolean state from [offset] of [address]. Example: MISC::IS_BIT_SET(bitAddress, 1); To enable and disable bits, see: MISC::SET_BIT(&bitAddress, 1); // enable MISC::CLEAR_BIT(&bitAddress, 1); // disable ```
0xA921AA820C25702F - MISCBOOL
IS_BULLET_IN_ANGLED_AREA
See [`IS_POINT_IN_ANGLED_AREA`](#\_0x2A70BAE8883E4C81) for the definition of an angled area. For projectiles, see: [`IS_PROJECTILE_TYPE_IN_ANGLED_AREA`](#\_0xF0BC12401061DEA0)
0x1A8B5F3C01E2B477 - MISCBOOL
IS_BULLET_IN_AREA
Description not yet documented
0x3F2023999AD51C1F - MISCBOOL
IS_BULLET_IN_BOX
Description not yet documented
0xDE0F6D7450D37351 - MISCBOOL
_IS_COMMAND_LINE_BENCHMARK_VALUE_SET
``` Returns true if command line option '-benchmark' is set. ```
0xA049A5BE0F04F2F8 - MISCBOOL
IS_DURANGO_VERSION
Description not yet documented
0x4D982ADB1978442D - MISCBOOL
IS_FRONTEND_FADING
``` This function is hard-coded to always return 0. ```
0x7EA2B6AF97ECA6ED - MISCBOOL
IS_INCIDENT_VALID
``` ======================================================= Correction, I have change this to int, instead of int* as it doesn't use a pointer to the createdIncident. If you try it you will crash (or) freeze. ======================================================= ```
0xC8BC6461E629BEAA - MISCBOOL
_IS_IN_POWER_SAVING_MODE
``` aka "constrained" ```
0x684A41975F077262 - MISCBOOL
IS_JAPANESE_VERSION
``` NativeDB Introduced: 2545 ```
0xB8C0BB75D8A77DB3 - MISCBOOL
IS_MEMORY_CARD_IN_USE
Description not yet documented
0x8A75CE2956274ADD - MISCBOOL
IS_MINIGAME_IN_PROGRESS
Description not yet documented
0x2B4A15E44DE0F478 - MISCBOOL
IS_NEXT_WEATHER_TYPE
Refer to [`SET_WEATHER_TYPE_NOW`](#\_0x29B487C359E19889) for weather types.
0x2FAA3A30BEC0F25D - MISCBOOL
IS_ORBIS_VERSION
Description not yet documented
0xA72BC0B675B1519E - MISCBOOL
IS_PC_VERSION
Description not yet documented
0x48AF36444B965238 - MISCBOOL
IS_POINT_OBSCURED_BY_A_MISSION_ENTITY
Description not yet documented
0xE54E209C35FFA18D - MISCBOOL
_IS_POP_MULTIPLIER_AREA_UNK
``` NativeDB Introduced: v1290 ```
0x1312F4B242609CE3 - MISCBOOL
IS_POSITION_OCCUPIED
The BOOL parameters that are documented have not been confirmed. They are just documented from what I've found during testing. They may not work as expected in all cases.
0xADCDE75E1C60F32D - MISCBOOL
IS_PREV_WEATHER_TYPE
Refer to [`SET_WEATHER_TYPE_NOW`](#\_0x29B487C359E19889) for weather types.
0x44F28F86433B10A9 - MISCBOOL
IS_PROJECTILE_IN_AREA
``` Determines whether there is a projectile within the specified coordinates. The coordinates form a rectangle. ownedByPlayer = only projectiles fired by the player will be detected. ```
0x5270A8FBC098C3F8 - MISCBOOL
IS_PROJECTILE_TYPE_IN_ANGLED_AREA
See [`IS_POINT_IN_ANGLED_AREA`](#\_0x2A70BAE8883E4C81) for the definition of an angled area. ``` NativeDB Removed Parameter 7: float p7 ```
0xF0BC12401061DEA0 - MISCBOOL
IS_PROJECTILE_TYPE_IN_AREA
``` Determines whether there is a projectile of a specific type within the specified coordinates. The coordinates form a axis-aligned bounding box. ```
0x2E0DC353342C4A6D - MISCBOOL
IS_PROJECTILE_TYPE_WITHIN_DISTANCE
Description not yet documented
0x34318593248C8FB2 - MISCBOOL
IS_PS3_VERSION
Description not yet documented
0xCCA1072C29D096C2 - MISCBOOL
IS_SNIPER_BULLET_IN_AREA
``` Determines whether there is a sniper bullet within the specified coordinates. The coordinates form an axis-aligned bounding box. ```
0xFEFCF11B01287125 - MISCBOOL
IS_SNIPER_INVERTED
``` This function is hard-coded to always return 0. ```
0x61A23B7EDA9BDA24 - MISCBOOL
IS_STEAM_VERSION
``` NativeDB Introduced: 2545 ```
0x0A27B2B6282F7169 - MISCBOOL
IS_STRING_NULL
Description not yet documented
0xF22B6C47C6EAB066 - MISCBOOL
IS_STRING_NULL_OR_EMPTY
Description not yet documented
0xCA042B6957743895 - MISCBOOL
IS_STUNT_JUMP_IN_PROGRESS
Description not yet documented
0x7A3F19700A4D0525 - MISCBOOL
IS_STUNT_JUMP_MESSAGE_SHOWING
Description not yet documented
0x2272B0A1343129F4 - MISCBOOL
IS_TENNIS_MODE
Description not yet documented
0x5D5479D115290C3F - MISCBOOL
IS_THIS_A_MINIGAME_SCRIPT
Description not yet documented
0x7B30F65D7B710098 - MISCBOOL
IS_XBOX360_VERSION
Description not yet documented
0xF6201B4DAF662A9D - MISCBOOL
_LANDING_MENU_IS_ACTIVE
``` Returns true if the current frontend menu is FE_MENU_VERSION_LANDING_MENU ```
0x3BBBD13E5041A79E
A living reference. Documentation coverage varies by native and source.