| Property | Value |
|---|---|
| Native Name | GET_CONTROL_VALUE |
| Hash | 0xD95E79E8686D2C27 |
| Return Type | int |
| Build | 1207 |
| Parameters | padIndex (int), control (int) |
Parameters
padIndex(int) — The control system instance to use. SeeENABLE_ALL_CONTROL_ACTIONS.control(int) — The control ID to check.
Usage
Lua (Direct):
local result = GetControlValue(padIndex, control)
Lua (Hash):
local result = Citizen.InvokeNative(0xD95E79E8686D2C27, padIndex, control)