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
- PLAYERvoid
0x0032A6DBA562C518
``` 2 matches in 1 script - am_hold_up Used in multiplayer scripts? ```
0x0032A6DBA562C518 - PLAYERvoid
0x237440E46D918649
``` NativeDB Introduced: v1290 ```
0x237440E46D918649 - PLAYERvoid
0x2382AB11450AE7BA
Description not yet documented
0x2382AB11450AE7BA - PLAYERvoid
0x2F41A3BAE005E5FA
Description not yet documented
0x2F41A3BAE005E5FA - PLAYERvoid
0x2F7CEB6520288061
``` Used with radios: void sub_cf383(auto _a0) { if ((a_0)==1) { if (MISC::IS_BIT_SET((g_240005._f1), 3)) { PLAYER::_2F7CEB6520288061(0); AUDIO::SET_AUDIO_FLAG("AllowRadioDuringSwitch", 0); AUDIO::SET_MOBILE_PHONE_RADIO_STATE(0); AUDIO::SET_AUDIO_FLAG("MobileRadioInGame", 0); } sub_cf3f6(1); } else { if (MISC::IS_BIT_SET((g_240005._f1), 3)) { PLAYER::_2F7CEB6520288061(1); AUDIO::SET_AUDIO_FLAG("AllowRadioDuringSwitch", 1); AUDIO::SET_MOBILE_PHONE_RADIO_STATE(1); AUDIO::SET_AUDIO_FLAG("MobileRadioInGame", 1); } sub_cf3f6(0); } } SET_PLAYER_S* ```
0x2F7CEB6520288061 - PLAYERvoid
0x31E90B8873A4CD3B
Description not yet documented
0x31E90B8873A4CD3B - PLAYERvoid
0x36F1B38855F2A8DF
Description not yet documented
0x36F1B38855F2A8DF - PLAYERvoid
0x4669B3ED80F24B4E
``` This has been found in use in the decompiled files. ```
0x4669B3ED80F24B4E - PLAYERvoid
0x5501B7A5CDB79D37
``` Name between DISABLE_ALL_CONTROL_ACTIONS and DISABLE_CONTROL_ACTION ```
0x5501B7A5CDB79D37 - PLAYERvoid
0x55FCC0C390620314
Description not yet documented
0x55FCC0C390620314 - PLAYERBOOL
0x690A61A6D13583F6
``` IS_* ```
0x690A61A6D13583F6 - PLAYERAny
0x6E4361FF3E8CD7CA
Description not yet documented
0x6E4361FF3E8CD7CA - PLAYERvoid
0x70A382ADEC069DD3
``` NativeDB Introduced: v1604 ```
0x70A382ADEC069DD3 - PLAYERvoid
0x7148E0F43D11F0D9
``` NativeDB Introduced: v1604 ```
0x7148E0F43D11F0D9 - PLAYERvoid
0x7BAE68775557AE0B
``` NativeDB Introduced: v1290 ```
0x7BAE68775557AE0B - PLAYERAny
0x7E07C78925D5FD96
Description not yet documented
0x7E07C78925D5FD96 - PLAYERvoid
0x823EC8E82BA45986
``` NativeDB Introduced: v2060 ```
0x823EC8E82BA45986 - PLAYERvoid
0x8D768602ADEF2245
``` SET_PLAYER_MAX_* ```
0x8D768602ADEF2245 - PLAYERvoid
0x9097EB6D4BB9A12A
ADD_\* ``` NativeDB Introduced: v1868 ```
0x9097EB6D4BB9A12A - PLAYERvoid
0x9EDD76E87D5D51BA
Description not yet documented
0x9EDD76E87D5D51BA - PLAYERvoid
0x9F260BFB59ADBCA3
REMOVE_\* ``` NativeDB Introduced: v1868 ```
0x9F260BFB59ADBCA3 - PLAYERvoid
0xAD73CE5A09E42D12
``` This has been found in use in the decompiled files. ```
0xAD73CE5A09E42D12 - PLAYERvoid
0xB45EFF719D8427A6
``` PLAYER::0xBF6993C7(rPtr((&l_122) + 71)); // Found in decompilation *** In "am_hold_up.ysc" used once: l_8d._f47 = MISC::GET_RANDOM_FLOAT_IN_RANGE(18.0, 28.0); PLAYER::_B45EFF719D8427A6((l_8d._f47)); ```
0xB45EFF719D8427A6 - PLAYERvoid
0xB885852C39CC265D
``` Disables something. Used only once in R* scripts (freemode.ysc). DISABLE_PLAYER_* ```
0xB885852C39CC265D - PLAYERBOOL
0xB9CF1F793A9F1BF1
``` Returns profile setting 237. GET_* ```
0xB9CF1F793A9F1BF1 - PLAYERvoid
0xBC9490CA15AEA8FB
``` Seems to only appear in scripts used in Singleplayer. Always used like this in scripts PLAYER::_BC9490CA15AEA8FB(PLAYER::PLAYER_ID()); ```
0xBC9490CA15AEA8FB - PLAYERvoid
0xC3376F42B1FACCC6
``` - This is called after SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME ```
0xC3376F42B1FACCC6 - PLAYERvoid
0xCAC57395B151135F
``` Found in "director_mode", "fm_bj_race_controler", "fm_deathmatch_controler", "fm_impromptu_dm_controler", "fm_race_controler", "gb_deathmatch". ```
0xCAC57395B151135F - PLAYERBOOL
0xCB645E85E97EA48B
``` Returns profile setting 243. GET_* ```
0xCB645E85E97EA48B - PLAYERvoid
0xD821056B9ACF8052
Description not yet documented
0xD821056B9ACF8052 - PLAYERBOOL
0xDCC07526B8EC45AF
Always returns false. ``` NativeDB Introduced: v1868 ```
0xDCC07526B8EC45AF - PLAYERBOOL
0xDD2620B7B9D16FF1
``` 2 occurrences in agency_heist3a. p1 was 0.7f then 0.4f. ```
0xDD2620B7B9D16FF1 - PLAYERvoid
0xDE45D1A1EF45EE61
Description not yet documented
0xDE45D1A1EF45EE61 - PLAYERvoid
0xFAC75988A7D078D3
Description not yet documented
0xFAC75988A7D078D3 - PLAYERvoid
0xFFEE8FA29AB9A18E
``` NativeDB Added Parameter 2: Any p1 ```
0xFFEE8FA29AB9A18E - PLAYERBOOL
ARE_PLAYER_FLASHING_STARS_ABOUT_TO_DROP
Description not yet documented
0xAFAF86043E5874E9 - PLAYERBOOL
ARE_PLAYER_STARS_GREYED_OUT
Description not yet documented
0x0A6EB355EE14A2DB - PLAYERvoid
ASSISTED_MOVEMENT_CLOSE_ROUTE
Description not yet documented
0xAEBF081FFC0A0E5E - PLAYERvoid
ASSISTED_MOVEMENT_FLUSH_ROUTE
Description not yet documented
0x8621390F0CDCFE1F - PLAYERBOOL
CAN_PED_HEAR_PLAYER
Description not yet documented
0xF297383AA91DCA29
A living reference. Documentation coverage varies by native and source.