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

onVehicleExplode triggers twice [server-side] #455

Closed
ArranTuna opened this issue Sep 11, 2018 · 1 comment
Closed

onVehicleExplode triggers twice [server-side] #455

ArranTuna opened this issue Sep 11, 2018 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@ArranTuna
Copy link
Collaborator

Describe the bug
When you call blowVehicle and a player is in a vehicle, onVehicleExplode triggers twice.

To Reproduce
srun addEventHandler ( "onVehicleExplode", root, function ( ) outputChatBox "Triggered" end )
srun player = getRandomPlayer ( )
srun local x, y, z = getElementPosition ( player ); warpPedIntoVehicle ( player, createVehicle ( 429, x, y, z + 1 ) )
srun blowVehicle ( getPedOccupiedVehicle ( player ) )

Expected behavior
Not to be triggered twice.

Screenshots
If applicable, add screenshots to help explain your problem.

MTA Client (please complete the following information):
1.3.4 last tested

MTA Server (please complete the following information):
1.3.4 last tested

Additional context
https://bugs.mtasa.com/view.php?id=7817
#213

@patrikjuvonen
Copy link
Contributor

Fixed by #1997

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.

4 participants