Jump to content

Lenz

Members
  • Posts

    3
  • Joined

  • Last visited

Lenz's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. That's still not what it's all about. It should be removed or made quiet. (This is what sirenEdit does.) https://imgur.com/J14RQ1a
  2. I made a mistake in getVehicleByID(id). function removePoliceSirens() local policeCars = {523, 596, 597, 598, 599, 327} for i, id in ipairs(policeCars) do local vehicle = getElementByID("vehicle_" .. id) if vehicle and getElementType(vehicle) == "vehicle" and getVehicleType(vehicle) == "Automobile" then setVehicleSirensOn(vehicle, false) addVehicleSirens(vehicle, 1, 2, true, false, true, true) end end end addEventHandler("onResourceStart", resourceRoot, removePoliceSirens) Fixed it, but the result is the same.
  3. function removePoliceSirens() local policeCars = {523, 596, 597, 598, 599, 327} for i, id in ipairs(policeCars) do local vehicle = getVehicleByID(id) if vehicle then removeVehicleSirens(vehicle) addVehicleSirens(vehicle, 2, 1, false, false, false, true) end end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), removePoliceSirens) That's the first thing that popped into my head. But it didn't help. I need to completely remove the sound of the standard GTA siren. Since I'm using the custom one.
×
×
  • Create New...