The Lab
PAD native

GET_DISABLED_CONTROL_NORMAL

returns float2 paramsbuild 1207

Returns the normalized value of action on control even when that action has been disabled this frame.

Signature

C
float GET_DISABLED_CONTROL_NORMAL(int control, Hash action); // 0x11E65974A982637C b1207

Parameters

#NameType
1controlint
2actionHash

Facts

Facts about GET_DISABLED_CONTROL_NORMAL
Name
GET_DISABLED_CONTROL_NORMAL
Hash
0x11E65974A982637C
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x11E65974A982637C, -- GET_DISABLED_CONTROL_NORMAL
  0, -- int control
  GetHashKey("name"), -- Hash action
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x11E65974A982637C", // GET_DISABLED_CONTROL_NORMAL
  0, // int control
  GetHashKey("name"), // Hash action
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x11E65974A982637C, // GET_DISABLED_CONTROL_NORMAL
  0, // int control
  (uint)API.GetHashKey("name") // Hash action
);
All PAD natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.