mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Adding function addVehicleSirens & removeVehicleSirens client-side

Open Proxy-99 opened this issue 1 year ago • 6 comments

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)

Proxy-99 avatar Sep 07 '24 18:09 Proxy-99

What can we do about #1375?

Fernando-A-Rocha avatar Sep 13 '24 18:09 Fernando-A-Rocha

@Proxy-99 with this feature we will be able to add sirens to engineRequestModel IDs clientside? Like a vehicle with parent ID Police LS.

Fernando-A-Rocha avatar Sep 13 '24 18:09 Fernando-A-Rocha

@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 avatar Sep 13 '24 20:09 Proxy-99

@Proxy-99 what's the state of this?😀

Fernando-A-Rocha avatar Oct 13 '24 10:10 Fernando-A-Rocha

@Proxy-99 what's the state of this?😀

need someone to merge it

Proxy-99 avatar Oct 13 '24 12:10 Proxy-99

i'm gonna test.

Fernando-A-Rocha avatar Oct 13 '24 12:10 Fernando-A-Rocha

@TheNormalnij @tederis can u merge this

Proxy-99 avatar Nov 30 '24 15:11 Proxy-99

@TheNormalnij @tederis can u merge this

Our build server doesn't work right now, and the next build is big enough.

TheNormalnij avatar Nov 30 '24 15:11 TheNormalnij