| Property | Value |
|---|---|
| Native Name | _SET_CONTROL_NORMAL |
| Hash | 0xE8A25867FBA3B05E |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | padIndex (int), control (int), amount (float) |
Description: This is for simulating player input. value is a float value from 0 - 1
control: see IS_CONTROL_ENABLED
Old name: _SET_CONTROL_NORMAL
Parameters
padIndex(int) — The control system instance to use. SeeENABLE_ALL_CONTROL_ACTIONS.control(int) — The control ID to check.amount(float) — An unbounded normal value.
Usage
Lua (Direct):
local result = SetControlNormal(padIndex, control, amount)
Lua (Hash):
local result = Citizen.InvokeNative(0xE8A25867FBA3B05E, padIndex, control, amount)