Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addVehicleSirens not working correctly #3472

Open
1 task done
Proxy-99 opened this issue Jun 15, 2024 · 0 comments · May be fixed by #3475
Open
1 task done

addVehicleSirens not working correctly #3472

Proxy-99 opened this issue Jun 15, 2024 · 0 comments · May be fixed by #3475
Labels
bug Something isn't working

Comments

@Proxy-99
Copy link
Contributor

Proxy-99 commented Jun 15, 2024

Describe the bug

addVehicleSirens when readd the Sirens to same vehicle it will not show up

Steps to reproduce

addSirens
removeSirens
addSirens agian to same car bug happend
https://youtu.be/1AVyNDfCKG8

Version

Multi Theft Auto v1.6-release-22518

Additional context

addEventHandler('onPlayerVehicleEnter', root, function(vehicle, seat)
  addVehicleSirens(vehicle, 7, 2, false,  false, false,  true)
      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)

end)

addEventHandler('onPlayerVehicleExit', root, function(vehicle, seat)
   removeVehicleSirens(vehicle)
end)

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@Proxy-99 Proxy-99 added the bug Something isn't working label Jun 15, 2024
@Proxy-99 Proxy-99 linked a pull request Jun 15, 2024 that will close this issue
@Proxy-99 Proxy-99 changed the title addVehicleSirens reset Sirens addVehicleSirens not working correctly Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant