The Lab
PAD native

GET_CONTROL_UNBOUND_NORMAL

returns float2 paramsbuild 1207

Returns the normalized value of action on control without the usual clamping and scaling applied, which is handy for raw mouse movement. Returns 0 if disabled.

Signature

C
float GET_CONTROL_UNBOUND_NORMAL(int control, Hash action); // 0x5B84D09CEC5209C5 b1207

Parameters

#NameType
1controlint
2actionHash

Facts

Facts about GET_CONTROL_UNBOUND_NORMAL
Name
GET_CONTROL_UNBOUND_NORMAL
Hash
0x5B84D09CEC5209C5
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(0x5B84D09CEC5209C5, -- GET_CONTROL_UNBOUND_NORMAL
  0, -- int control
  GetHashKey("name"), -- Hash action
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x5B84D09CEC5209C5", // GET_CONTROL_UNBOUND_NORMAL
  0, // int control
  GetHashKey("name"), // Hash action
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x5B84D09CEC5209C5, // GET_CONTROL_UNBOUND_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.