IS_VEHICLE_SIREN_ON
Signature
BOOL IS_VEHICLE_SIREN_ON(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Usage
local retval = IsVehicleSirenOn(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x25eb5873, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleSirenOn(vehicle);
// by hash
const retval = Citizen.invokeNative('0x25eb5873', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x25eb5873, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.