IS_USING_KEYBOARD_AND_MOUSE
padIndex is not used Old name: _IS_USING_KEYBOARD
Hash
0xA571D46727E2B718Runtime name
IsUsingKeyboardAndMouseNamespacePAD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA571D46727E2B718Signature
BOOL IS_USING_KEYBOARD_AND_MOUSE(int control);Parameters
| Name | Type | Description |
|---|---|---|
control | int | — |
Returns BOOL
Description
padIndex is not used
Old name: _IS_USING_KEYBOARD
Usage
local retval = IsUsingKeyboardAndMouse(control)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA571D46727E2B718, control, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsUsingKeyboardAndMouse(control);
// by hash
const retval = Citizen.invokeNative('0xA571D46727E2B718', control, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xA571D46727E2B718, control);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.