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
- GRAPHICSBOOL
LOAD_MISSION_CREATOR_PHOTO
Description not yet documented
0x4862437A486F91B0 - GRAPHICSint
LOAD_MOVIE_MESH_SET
Description not yet documented
0xB66064452270E8F1 - GRAPHICSvoid
MOVE_VEHICLE_DECALS
Description not yet documented
0x84C8D7C2D30D3280 - GRAPHICSvoid
OVERRIDE_INTERIOR_SMOKE_END
Description not yet documented
0xEFB55E7C25D3B3BE - GRAPHICSvoid
OVERRIDE_INTERIOR_SMOKE_LEVEL
Description not yet documented
0x1600FD8CF72EBC12 - GRAPHICSvoid
OVERRIDE_INTERIOR_SMOKE_NAME
Description not yet documented
0x2A2A52824DB96700 - GRAPHICSBOOL
_OVERRIDE_PED_BADGE_TEXTURE
``` Overriding ped badge texture to a passed texture. It's synced between players (even custom textures!), don't forget to request used dict on *all* clients to make it sync properly. Can be removed by passing empty strings. ```
0x95EB5E34F821BABE - GRAPHICSBOOL
PASS_KEYBOARD_INPUT_TO_SCALEFORM
Passes keyboard input to scaleform. You must call this native every frame. Once an input occurs, this native will return true and call `SET_PC_KEY` scaleform movie method with the key that has been inputted. The key parameter which is passed to the scaleform can also be: "BACKSPACE", "ENTER" or "\x1b" (Which is ESC). This native is only used in `web_browser.c` as of game build 2944.
0xD1C7CB175E012964 - GRAPHICSvoid
PATCH_DECAL_DIFFUSE_MAP
``` REQUEST_STREAMED_TEXTURE_DICT("MPOnMissMarkers", false); *uParam0.f_809 = add_decal(9120, vParam1, vVar4, vVar7, 2f, 2f, to_float(iVar0) / 255f, to_float(iVar1) / 255f, to_float(iVar2) / 255f, 1f, -1f, 1, 0, 0); PATCH_DECAL_DIFFUSE_MAP(9120, "MPOnMissMarkers", "Capture_The_Flag_Base_Icon"); ```
0x8A35C742130C6080 - GRAPHICSvoid
_PLAY_BINK_MOVIE
``` NativeDB Introduced: v1290 ```
0x70D2CC8A542A973C - GRAPHICSvoid
POP_TIMECYCLE_MODIFIER
Description not yet documented
0x3C8938D7D872211E - GRAPHICSvoid
PRESET_INTERIOR_AMBIENT_CACHE
``` Only one match in the scripts: GRAPHICS::PRESET_INTERIOR_AMBIENT_CACHE("int_carrier_hanger"); ```
0xD7021272EB0A451E - GRAPHICSvoid
PUSH_TIMECYCLE_MODIFIER
Description not yet documented
0x58F735290861E6B4 - GRAPHICSAny
QUERY_MOVIE_MESH_SET_STATE
Description not yet documented
0x9B6E70C5CEEF4EEB - GRAPHICSBOOL
QUEUE_OPERATION_TO_CREATE_SORTED_LIST_OF_PHOTOS
Queues a scan of all gallery photos. Also see [`GET_STATUS_OF_SORTED_LIST_OPERATION`](#\_0xF5BED327CEA362B1)
0x2A893980E96B659A - GRAPHICSvoid
_REGISTER_NOIR_SCREEN_EFFECT_THIS_FRAME
Used with 'NG_filmnoir_BW{01,02}' timecycles and the "NOIR_FILTER_SOUNDS" audioref.
0xA44FF770DFBC5DAE - GRAPHICSvoid
_RELEASE_BINK_MOVIE
``` NativeDB Introduced: v1290 ```
0x04D950EEFA4EED8C - GRAPHICSvoid
RELEASE_MOVIE_MESH_SET
Description not yet documented
0xEB119AA014E89183 - GRAPHICSvoid
REMOVE_DECAL
Description not yet documented
0xED3F346429CCD659 - GRAPHICSvoid
REMOVE_DECALS_FROM_OBJECT
Description not yet documented
0xCCF71CBDDF5B6CB9 - GRAPHICSvoid
REMOVE_DECALS_FROM_OBJECT_FACING
Description not yet documented
0xA6F6F70FDC6D144C - GRAPHICSvoid
REMOVE_DECALS_FROM_VEHICLE
Description not yet documented
0xE91F1B65F2B48D57 - GRAPHICSvoid
REMOVE_DECALS_IN_RANGE
``` Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol... ```
0x5D6B2D4830A67C62 - GRAPHICSvoid
REMOVE_PARTICLE_FX
Description not yet documented
0xC401503DFE8D53CF - GRAPHICSvoid
REMOVE_PARTICLE_FX_FROM_ENTITY
Description not yet documented
0xB8FEAEEBCC127425 - GRAPHICSvoid
REMOVE_PARTICLE_FX_IN_RANGE
Description not yet documented
0xDD19FA1C6D657305 - GRAPHICSvoid
REMOVE_SCALEFORM_SCRIPT_HUD_MOVIE
Description not yet documented
0xF44A5456AC3F4F97 - GRAPHICSvoid
REMOVE_TCMODIFIER_OVERRIDE
Description not yet documented
0x15E33297C3E8DC60 - GRAPHICSvoid
REMOVE_VEHICLE_CREW_EMBLEM
Description not yet documented
0xD2300034310557E4 - GRAPHICSint
REQUEST_SCALEFORM_MOVIE
Description not yet documented
0x11FE353CF9733E6F - GRAPHICSint
REQUEST_SCALEFORM_MOVIE_INSTANCE
Same as [REQUEST_SCALEFORM_MOVIE](#\_0x11FE353CF9733E6F), except it seems to fix stretched scaleforms on ultrawide.
0xC514489CFB8AF806 - GRAPHICSint
REQUEST_SCALEFORM_MOVIE_SKIP_RENDER_WHILE_PAUSED
Requests a scaleform movie that doesn't render when the game is paused (With [`SET_GAME_PAUSED`](#\_0x577D1284D6873711)).
0xBD06C611BB9048C2 - GRAPHICSint
REQUEST_SCALEFORM_MOVIE_WITH_IGNORE_SUPER_WIDESCREEN
Requests a scaleform movie, which has no widescreen adjustments while rendering (Useful for when your scaleform doesn't fully draw on the screen and borders are visible).
0x65E7E78842E74CDB - GRAPHICSvoid
REQUEST_SCALEFORM_SCRIPT_HUD_MOVIE
Description not yet documented
0x9304881D6F6537EA - GRAPHICSvoid
REQUEST_STREAMED_TEXTURE_DICT
``` This function can requests texture dictonaries from following RPFs: scaleform_generic.rpf scaleform_minigames.rpf scaleform_minimap.rpf scaleform_web.rpf last param isnt a toggle ```
0xDFA2EF8E04127DD5 - GRAPHICSvoid
RESET_ADAPTATION
Resets AnimPostFX adaptation.
0xE3E2C1B4C59DBC77 - GRAPHICSvoid
RESET_PARTICLE_FX_OVERRIDE
``` Resets the effect of SET_PARTICLE_FX_OVERRIDE ```
0x89C8553DD3274AAE - GRAPHICSvoid
RESET_PAUSED_RENDERPHASES
Description not yet documented
0xE1C8709406F2C41C - GRAPHICSvoid
RESET_SCRIPT_GFX_ALIGN
This function resets the alignment set using `SET_SCRIPT_GFX_ALIGN` and `SET_SCRIPT_GFX_ALIGN_PARAMS` to the default values ('I', 'I'; 0, 0, 0, 0). This should be used after having used the aforementioned functions in order to not affect any other scripts attempting to draw.
0xE3A3DB414A373DAB - GRAPHICSint
_RETURN_TWO
Description not yet documented
0x40AFB081F8ADD4EE
A living reference. Documentation coverage varies by native and source.