GET_CONTROL_UNBOUND_NORMAL
Hash
0x5B84D09CEC5209C5Runtime name
GetControlUnboundNormalNamespacePAD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5B84D09CEC5209C5Signature
float GET_CONTROL_UNBOUND_NORMAL(int control, Hash action);Parameters
| Name | Type | Description |
|---|---|---|
control | int | — |
action | Hash | — |
Returns float
Usage
local retval = GetControlUnboundNormal(control, action)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5B84D09CEC5209C5, control, action, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetControlUnboundNormal(control, action);
// by hash
const retval = Citizen.invokeNative('0x5B84D09CEC5209C5', control, action, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x5B84D09CEC5209C5, control, action);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.