Adding function addVehicleSirens & removeVehicleSirens client-side
closing #3215
added removeVehicleSirens() and addVehicleSirens()
test with client script
local vehicle = getPedOccupiedVehicle(localPlayer)
local result = addVehicleSirens(vehicle, 2, 3,false,true,true,false)
setVehicleSirens(vehicle, 1, -0.3, 0, 0.8, 0, 0, 255, 255, 255)
setVehicleSirens(vehicle, 2, 0.3, 0, 0.8, 255, 0, 0, 255, 255)
setVehicleSirensOn(vehicle, true)
print(result)
function remove ()
removeVehicleSirens (vehicle)
end
addCommandHandler("remove", remove)
What can we do about #1375?
@Proxy-99 with this feature we will be able to add sirens to engineRequestModel IDs clientside? Like a vehicle with parent ID Police LS.
@Proxy-99 with this feature we will be able to add sirens to engineRequestModel IDs clientside? Like a vehicle with parent ID Police LS.
After I test it with engineRequestModel it won't works it just the sound of the siren that works similar like trains ids
@Proxy-99 what's the state of this?😀
@Proxy-99 what's the state of this?😀
need someone to merge it
i'm gonna test.
@TheNormalnij @tederis can u merge this
@TheNormalnij @tederis can u merge this
Our build server doesn't work right now, and the next build is big enough.