NativeHub
All NativesModelsArtifactsCFXVehicle

Not affiliated with Rockstar Games or Take-Two Interactive. FiveM and Cfx.re are trademarks of their respective owners. cfxnatives.dev is an independent community project.

Maintained by uz-scripts

© 2026 cfxnatives.dev

contact@cfxnatives.dev
PADClient
Artifact25963
Data sourced from jgscripts artifact-db

EnableControlAction

Docs
EnableControlAction(padIndex, control, enable)

Description

control values and meaning: github.com/crosire/scripthookvdotnet/blob/dev_v3/source/scripting/Control.cs
and
https://docs.fivem.net/game-references/controls/
0, 1 and 2 used in the scripts.
Control values from the decompiled scripts:
0,1,2,3,4,5,6,8,9,10,11,14,15,16,17,19,21,22,24,25,26,30,31,32,33,34,35,36,
37,44,46,47,59,60,65,68,69,70,71,72,73,74,75,76,79,80,81,82,86,95,98,99,100
,101,114,140,141,143,172,173,174,175,176,177,178,179,180,181,187,188,189,19
0,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,217,218,219,2
20,221,225,228,229,230,231,234,235,236,237,238,239,240,241,242,245,246,257,
261,262,263,264,286,287,288,289,337,338,339,340,341,342,343
INPUTGROUP_MOVE
INPUTGROUP_LOOK
INPUTGROUP_WHEEL
INPUTGROUP_CELLPHONE_NAVIGATE
INPUTGROUP_CELLPHONE_NAVIGATE_UD
INPUTGROUP_CELLPHONE_NAVIGATE_LR
INPUTGROUP_FRONTEND_DPAD_ALL
INPUTGROUP_FRONTEND_DPAD_UD
INPUTGROUP_FRONTEND_DPAD_LR
INPUTGROUP_FRONTEND_LSTICK_ALL
INPUTGROUP_FRONTEND_RSTICK_ALL
INPUTGROUP_FRONTEND_GENERIC_UD
INPUTGROUP_FRONTEND_GENERIC_LR
INPUTGROUP_FRONTEND_GENERIC_ALL
INPUTGROUP_FRONTEND_BUMPERS
INPUTGROUP_FRONTEND_TRIGGERS
INPUTGROUP_FRONTEND_STICKS
INPUTGROUP_SCRIPT_DPAD_ALL
INPUTGROUP_SCRIPT_DPAD_UD
INPUTGROUP_SCRIPT_DPAD_LR
INPUTGROUP_SCRIPT_LSTICK_ALL
INPUTGROUP_SCRIPT_RSTICK_ALL
INPUTGROUP_SCRIPT_BUMPERS
INPUTGROUP_SCRIPT_TRIGGERS
INPUTGROUP_WEAPON_WHEEL_CYCLE
INPUTGROUP_FLY
INPUTGROUP_SUB
INPUTGROUP_VEH_MOVE_ALL
INPUTGROUP_CURSOR
INPUTGROUP_CURSOR_SCROLL
INPUTGROUP_SNIPER_ZOOM_SECONDARY
INPUTGROUP_VEH_HYDRAULICS_CONTROL
Took those in IDA Pro.Not sure in which order they go

Parameters

NameTypeDescription
padIndexint—
controlint—
enableBOOL—

Returns

void

This native does not return a value.

Server Artifacts

Data sourced from jgscripts artifact-db
Recommended25963
Known Issues24
25987-25988Node.js sandboxing seems to be causing issues for people - best to avoid for now
21547Multiple (unconfirmed) reports of server-sided natives throwing errors or causing crashes; best to avoid
17462Failed build, ignore
16276Multiple reports of issues loading JS within resources
14583-14716Crash when using the new onEntityBucketChange
14583-14862Timeouts due to latency units being in nanoseconds
13759-13890Mumble (voice) external connections blocked by default
13380-13458Server crashing due to integer encoding (PR#3235)
13079Failed Linux build (works OK if using Windows!)
12933-13045Still crashes (sometimes) when restarting resources due to Node.js 22
12913-12932Causes a crash when restarting Node.js 22
12767os.date() appends null terminator; can break Lua scripts
12651Failed Linux build, ignore
12509Failed build, ignore
12255Unconfirmed, but several reports of server-side issues that don't persist when downgrading; best to avoid
12160-12165Cannot use entity native calls in entityRemoved
12151Crashing if using newest title update (TU)
12092-12135SetPlayerModel may cause SIGSEGV crashes on some clients due to changes in player handling. 12031 and below works fine.
12078-12083Some clients will fail to connect with 'ReadBulk of header failed' error
10930Failed build, ignore
10268-10309sv_experimentalNetGameEventHandler enabled by default; can cause server crashing and reports of issues downgrading after upgrading
10191GetVehicleNumberPlateText server native broken, will cause issues with scripts involving vehicles
10072Crashing when players join
8509State bags not replicated to clients

CommunitySnippets

No snippets yet. Be the first to contribute!