GET_DISABLED_CONTROL_UNBOUND_NORMAL
Returns the unbound normalized value of action on control, even when that action is disabled.
Signature
float GET_DISABLED_CONTROL_UNBOUND_NORMAL(int control, Hash action); // 0x4F8A26A890FD62FB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | control | int |
| 2 | action | Hash |
Facts
| Name | GET_DISABLED_CONTROL_UNBOUND_NORMAL |
|---|---|
| Hash | 0x4F8A26A890FD62FB |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x4F8A26A890FD62FB, -- GET_DISABLED_CONTROL_UNBOUND_NORMAL
0, -- int control
GetHashKey("name"), -- Hash action
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x4F8A26A890FD62FB", // GET_DISABLED_CONTROL_UNBOUND_NORMAL
0, // int control
GetHashKey("name"), // Hash action
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x4F8A26A890FD62FB, // GET_DISABLED_CONTROL_UNBOUND_NORMAL
0, // int control
(uint)API.GetHashKey("name") // Hash action
);Related PAD natives
- GET_DISABLED_CONTROL_NORMAL
- GET_CONTROL_UNBOUND_NORMAL
- GET_CONTROL_NORMAL
- _GET_DISABLED_CONTROL_HOW_LONG_AGO
- GET_CONTROL_HOW_LONG_AGO
- GET_CONTROL_VALUE
- _GET_CURRENT_CONTROL_CONTEXT
- IS_DISABLED_CONTROL_JUST_PRESSED
- IS_DISABLED_CONTROL_JUST_RELEASED
- IS_DISABLED_CONTROL_PRESSED
- _IS_CONTROL_ACTION_VALID
- _SET_CONTROL_CONTEXT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.