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

[SA] Emergency horns can't be activated (SAMP) #13

Open
shchpln opened this issue Aug 30, 2021 · 1 comment
Open

[SA] Emergency horns can't be activated (SAMP) #13

shchpln opened this issue Aug 30, 2021 · 1 comment

Comments

@shchpln
Copy link

shchpln commented Aug 30, 2021

So, emergency siren on police cars, firetrucks and ambulance doesn't work when playing in SA-MP. This bug happens every time there is another player (or players) in stream zone driving emergency car. As a result, pressing horn button on my side activates horns for that player's car. The horn button works correctly for my emergency car when that another player is streamed out.

@shchpln
Copy link
Author

shchpln commented Sep 2, 2021

Seems like line 268 cause this bug:
pad = vehicle->m_pDriver == CWorld::Players[0].m_pPed
It chose wrong player ped ID in SAMP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant