View Issue Details

IDProjectCategoryView StatusLast Update
0007817Multi Theft Auto : San AndreasVehiclespublic2018-08-06 17:28
Reportertete_360Assigned ToBonus1702 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.3.4 
Target VersionConfirmed IssuesFixed in Version 
Summary0007817: onVehicleExplode triggers twice [server-side]
Description

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

Steps To Reproduce

(runcode)

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 ) )

TagsNo tags attached.

Activities

arezu

2013-09-13 00:11

viewer   ~~0019312

Confirmed. Also when it's triggered the first time,getVehicleOccupant will return the player inside the vehicle, but the second time it's triggered; it will return false.

tete_360

2013-09-13 07:11

viewer   ~~0019315

Yeah, true.

Bonus1702

2018-06-23 22:19

reporter   ~~0026576

Created a PR:
https://github.com/multitheftauto/mtasa-blue/pull/202

Bonus1702

2018-06-30 06:45

reporter   ~~0026586

*Created a new PR:
https://github.com/multitheftauto/mtasa-blue/pull/213

Issue History

Date Modified Username Field Change