IS_FLASH_LIGHT_ON
Signature
bool IS_FLASH_LIGHT_ON(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The target ped. |
Returns bool — Whether or not the ped's flash light is on.
Usage
local retval = IsFlashLightOn(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x76876154, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsFlashLightOn(ped);
// by hash
const retval = Citizen.invokeNative('0x76876154', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x76876154, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.