View Issue Details

IDProjectCategoryView StatusLast Update
0008458Multi Theft Auto : San AndreasClientpublic2017-05-14 21:15
Reportercastillo14Assigned Tolopezloo 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.5Fixed in Version1.5.5 
Summary0008458: setObjectBreakable - Melee problem
Description

Well, I've noticed that if you use this function, it stops damage from explosions and gun shoots, but you can break the object, such as glass, using melee.

TagsNo tags attached.

Activities

arranTuna

2014-11-12 00:36

manager   ~~0022345

Object ID used?

castillo14

2014-11-12 18:57

viewer   ~~0022349

I tried it with a glass object, I don't remember the ID though.

castillo14

2014-12-09 09:53

viewer   ~~0022651

This is the object ID: 1649

And here is a video to show the bug:

https://www.youtube.com/watch?v=PlrQN6xvWSM&feature=youtu.be

Jusonex

2014-12-10 21:10

administrator   ~~0022653

What happens if you use addEventHandler("onClientObjectDamage", object, cancelEvent) and/or addEventHandler("onClientObjectBreak", object, cancelEvent) instead?

castillo14

2014-12-11 07:56

viewer   ~~0022654

Same problem with both events.

And I found another problem when testing onClientObjectBreak & onClientObjectDamage, explosives will break the object even if you cancel the events, but they won't if you set setObjectBreakable function to false.

lopezloo

2017-05-14 21:15

developer   ~~0025947

Fixed in https://github.com/multitheftauto/mtasa-blue/commit/6343316702b7ea9d90beb49ff6e89fa743d5f51c

Issue History

Date Modified Username Field Change