View Issue Details

IDProjectCategoryView StatusLast Update
0008265Multi Theft Auto : San AndreasClientpublic2018-09-22 18:56
ReporterIIYAMA12Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
PlatformWindows 7, 64 bitOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008265: onClientVehicleCollision doesn't trigger for planes, trains and boats
Description

I have reported in the past a related bug, which was which was only with boats.
It is about the event onClientVehicleCollision, which doesn't work with some sort of vehicles.

It has been fixed. Unfortunately it is back, but now also with the vehicle kind "airplanes"(rustler).

https://wiki.multitheftauto.com/wiki/OnClientVehicleCollision

Steps To Reproduce

Step in an airplane or a boat and ram something.

With this client code:
addEventHandler("onClientVehicleCollision", root,
function(collider,force, bodyPart, x, y, z, nx, ny, nz)
if ( source == getPedOccupiedVehicle(localPlayer) ) then
outputChatBox("hit something")
setVehicleDamageProof (source,true)-- damage proof extra check.
end
end
)

onClientVehicleCollision has nothing to do with taking damage, it should work at all time.

Additional Information

Thank you!
and thank you very much for the new functions.

TagsNo tags attached.

Relationships

has duplicate 0008820 closed New issues onClientVehicleCollision Doesn't Work With Train, boats or plains 

Activities

IIYAMA12

2014-06-13 12:07

viewer   ~~0021009

which was only with boats.*

arranTuna

2014-06-13 15:38

manager   ~~0021012

Confirmed, didn't even have to have them damage proof, tried it with Rustler and Squalo and got absolutely no trigger from that event, Maverick and Sultan worked fine though.

IIYAMA12

2014-08-25 16:04

viewer   ~~0021859

I don't want to be rude.

But is it already clear in what version when this will be patched?

lopezloo

2014-08-25 16:36

developer   ~~0021862

This event also doesn't trigger for trains.

Grafu

2015-01-09 14:29

viewer   ~~0022810

Won't trigger.

arranTuna

2018-09-21 18:02

manager   ~~0027028

Moved to https://github.com/multitheftauto/mtasa-blue/issues/540

Issue History

Date Modified Username Field Change