IS_DISABLED_CONTROL_JUST_RELEASED
Hash
0x305C8DCD79DA8B0FRuntime name
IsDisabledControlJustReleasedNamespacePAD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x305C8DCD79DA8B0FSignature
BOOL IS_DISABLED_CONTROL_JUST_RELEASED(int control, Hash action);Parameters
| Name | Type | Description |
|---|---|---|
control | int | — |
action | Hash | — |
Returns BOOL
Usage
local retval = IsDisabledControlJustReleased(control, action)
-- always works, by hash
local retval = Citizen.InvokeNative(0x305C8DCD79DA8B0F, control, action, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsDisabledControlJustReleased(control, action);
// by hash
const retval = Citizen.invokeNative('0x305C8DCD79DA8B0F', control, action, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x305C8DCD79DA8B0F, 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.