- Documentation
- Server functions
- removeVehicleSirens
Function
removeVehicleSirens
Removes the custom sirens added to the vehicle with addVehicleSirens.
Syntax
bool removeVehicleSirens(vehicle vehicle)Arguments
vehiclevehicle- The vehicle.
Returns
true on success.
Example
local vehicle = createVehicle(596, 1535, -1670, 13.4)
addVehicleSirens(vehicle, 2, 1)
removeVehicleSirens(vehicle)
See also
addVehicleSirensStores a set of custom siren lights for the vehicle: number of points, type and flags. After it,setVehicleSirenssets the position and colour of each point.getVehicleSirensReturns the list of siren points stored withaddVehicleSirensandsetVehicleSirens. Each point is a table with the fieldsx,y,z,Red,Green,Blue,Alpha,Min_Alpha.setVehicleSirensSets the position and colour of one siren point added withaddVehicleSirens.