You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: