GET_CONTROL_NORMAL
Hash
0xEC3C9B8D5327B563Runtime name
GetControlNormalNamespacePAD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEC3C9B8D5327B563Signature
float GET_CONTROL_NORMAL(int control, Hash action);Parameters
| Name | Type | Description |
|---|---|---|
control | int | — |
action | Hash | — |
Returns float
Usage
local retval = GetControlNormal(control, action)
-- always works, by hash
local retval = Citizen.InvokeNative(0xEC3C9B8D5327B563, control, action, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetControlNormal(control, action);
// by hash
const retval = Citizen.invokeNative('0xEC3C9B8D5327B563', control, action, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xEC3C9B8D5327B563, 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.