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
0x06462A961E94B67C
``` CLEAR_* ```
0x06462A961E94B67C - MISCvoid
0x1178E104409FE58C
``` NativeDB Introduced: v2189 ```
0x1178E104409FE58C - MISCBOOL
0x19BFED045C647C49
``` GET_TENNIS_*; references 0xFBFEC0E9 = interruptswing ```
0x19BFED045C647C49 - MISCBOOL
0x2107A3773771186D
``` HAS_* ```
0x2107A3773771186D - MISCVector3
0x21C235BC64831E5A
``` GET_C* ```
0x21C235BC64831E5A - MISCvoid
0x23227DF0B2115469
**This native does absolutely nothing, just a nullsub**
0x23227DF0B2115469 - MISCvoid
0x31125FD509D9043F
**This native does absolutely nothing, just a nullsub**
0x31125FD509D9043F - MISCAny
0x39455BF4F4F55186
``` NativeDB Introduced: v1868 ```
0x39455BF4F4F55186 - MISCint
0x397BAA01068BAA96
Description not yet documented
0x397BAA01068BAA96 - MISCvoid
0x48F069265A0E4BEC
``` Only found 3 times in decompiled scripts. Not a whole lot to go off of. MISC::_48F069265A0E4BEC(a_0, "Movie_Name_For_This_Player"); MISC::_48F069265A0E4BEC(&a_0._fB, "Ringtone_For_This_Player"); MISC::_48F069265A0E4BEC(&a_0._f1EC4._f12[v_A/*6*/], &v_13); // where v_13 is "MPATMLOGSCRS0" thru "MPATMLOGSCRS15" ```
0x48F069265A0E4BEC - MISCvoid
0x54F157E0336A3822
``` From the scripts: MISC::_54F157E0336A3822(sub_aa49(a_0), "ForcedStopDirection", v_E); Related to tennis mode. SET_* ```
0x54F157E0336A3822 - MISCAny
0x5B1F2E327B6B6FE1
Description not yet documented
0x5B1F2E327B6B6FE1 - MISCvoid
0x65D2EBB47E1CEC21
``` Sets GtaThread+0x14A SET_S* ```
0x65D2EBB47E1CEC21 - MISCvoid
0x693478ACBD7F18E7
Description not yet documented
0x693478ACBD7F18E7 - MISCvoid
0x6F2135B6129620C1
``` Sets bit 3 in GtaThread+0x150 SET_T* ```
0x6F2135B6129620C1 - MISCBOOL
0x6FDDF453C0C756EC
``` HAS_* Probably something like "has game been started for the first time". ```
0x6FDDF453C0C756EC - MISCvoid
0x703CC7F60CBB2B57
**This native does absolutely nothing, just a nullsub**
0x703CC7F60CBB2B57 - MISCvoid
0x7EC6F9A478A6A512
``` Possibly used to clear scenario points. CLEAR_* ```
0x7EC6F9A478A6A512 - MISCfloat
0x7F8F6405F4777AF6
Description not yet documented
0x7F8F6405F4777AF6 - MISCvoid
0x8269816F6CFD40F8
``` Only found 2 times in decompiled scripts. Not a whole lot to go off of. MISC::_8269816F6CFD40F8(&a_0._f1F5A._f6[0/*8*/], "TEMPSTAT_LABEL"); // gets saved in a struct called "g_SaveData_STRING_ScriptSaves" MISC::_8269816F6CFD40F8(&a_0._f4B4[v_1A/*8*/], &v_5); // where v_5 is "Name0" thru "Name9", gets saved in a struct called "OUTFIT_Name" ```
0x8269816F6CFD40F8 - MISCvoid
0x8951EB9C6906D3C8
**This native does absolutely nothing, just a nullsub**
0x8951EB9C6906D3C8 - MISCvoid
0x8D74E26F54B4E5C3
``` I* ```
0x8D74E26F54B4E5C3 - MISCvoid
0x916CA67D26FD1E37
Does nothing (it's a nullsub). Seems to be PS4 specific. ``` NativeDB Introduced: v2060 ```
0x916CA67D26FD1E37 - MISCvoid
0x97E7E2C04245115B
**This native does absolutely nothing, just a nullsub**
0x97E7E2C04245115B - MISCAny
0xA0AD167E4B39D9A2
``` NativeDB Introduced: v2189 ```
0xA0AD167E4B39D9A2 - MISCBOOL
0xA4A0065E39C9F25C
``` GET_SAVE_* GET_SAVE_UNLESS_CUSTOM_DOT ? ```
0xA4A0065E39C9F25C - MISCvoid
0xB51B9AB9EF81868C
Description not yet documented
0xB51B9AB9EF81868C - MISCvoid
0xBA4B8D83BDC75551
**This native does absolutely nothing, just a nullsub**
0xBA4B8D83BDC75551 - MISCAny
0xD10282B6E3751BA0
Description not yet documented
0xD10282B6E3751BA0 - MISCAny
0xD642319C54AADEB6
Description not yet documented
0xD642319C54AADEB6 - MISCvoid
0xD9F692D349249528
``` RESET_* ```
0xD9F692D349249528 - MISCvoid
0xE3D969D2785FFB5E
``` sets something to 1 ```
0xE3D969D2785FFB5E - MISCvoid
0xE532EC1A63231B4F
``` SET_* ```
0xE532EC1A63231B4F - MISCBOOL
0xE95B0C7D5BA3B96B
Related to tennis mode. Checks for `0x0FCED5ADF = swung`
0xE95B0C7D5BA3B96B - MISCvoid
0xEB078CA2B5E82ADD
**This native does absolutely nothing, just a nullsub**
0xEB078CA2B5E82ADD - MISCAny
0xEB2104E905C6F2E9
Description not yet documented
0xEB2104E905C6F2E9 - MISCvoid
0xEBD3205A207939ED
**This native does absolutely nothing, just a nullsub**
0xEBD3205A207939ED - MISCvoid
0xFA3FFB0EEBC288A3
``` NativeDB Introduced: v2060 ```
0xFA3FFB0EEBC288A3 - MISCvoid
0xFAA457EF263E8763
``` Another unknown label type... MISC::_FAA457EF263E8763(a_0, "Thumb_label"); MISC::_FAA457EF263E8763(&a_0._f10, "Photo_label"); MISC::_FAA457EF263E8763(a_0, "GXTlabel"); MISC::_FAA457EF263E8763(&a_0._f21, "StringComp"); MISC::_FAA457EF263E8763(&a_0._f43, "SecondStringComp"); MISC::_FAA457EF263E8763(&a_0._f53, "ThirdStringComp"); MISC::_FAA457EF263E8763(&a_0._f32, "SenderStringComp"); MISC::_FAA457EF263E8763(&a_0._f726[v_1A/*16*/], &v_20); // where v_20 is "LastJobTL_0_1" thru "LastJobTL_2_1", gets saved in a struct called "LAST_JobGamer_TL" MISC::_FAA457EF263E8763(&a_0._f4B, "PAID_PLAYER"); MISC::_FAA457EF263E8763(&a_0._f5B, "RADIO_STATION"); ```
0xFAA457EF263E8763 - MISCvoid
0xFB00CA71DA386228
Description not yet documented
0xFB00CA71DA386228
A living reference. Documentation coverage varies by native and source.