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
- PADBOOL
_SET_CONTROL_NORMAL
This is for simulating player input.
0xE8A25867FBA3B05E - PADBOOL
_SET_CURSOR_LOCATION
Sets the position of the mouse cursor within the current UI context (e.g., NUI menu or pause menu).\ Coordinates must be in the range 0.0 to 1.0, where (0.5, 0.5) represents the center of the screen.
0xFC695459D4D0E219 - PADvoid
SET_INPUT_EXCLUSIVE
Description not yet documented
0xEDE476E5EE29EDB1 - PADvoid
SET_PAD_SHAKE
``` p0 always seems to be 0 duration in milliseconds frequency should range from about 10 (slow vibration) to 255 (very fast) example: SET_PAD_SHAKE(0, 100, 200); ```
0x48B3886C1358D0D5 - PADvoid
SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED
Description not yet documented
0x798FDEB5B1575088 - PADvoid
STOP_PAD_SHAKE
Description not yet documented
0x38C16A305E8CDC8D - PADBOOL
_SWITCH_TO_INPUT_MAPPING_SCHEME
``` Used in carsteal3 script with p0 = "Carsteal4_spycar". S* ```
0x3D42B92563939375 - PADBOOL
_SWITCH_TO_INPUT_MAPPING_SCHEME_2
``` Same as 0x3D42B92563939375 S* ```
0x4683149ED1DDE7A1
A living reference. Documentation coverage varies by native and source.