Sergei Posted January 28, 2010 Share Posted January 28, 2010 Hello. Currently server-side event onVehicleDamage only has one parameter which tells us how much health vehicle lost. It would be useful if that event told us attacker and attacker's weapon. With those two additional parameters we would be able to easily make vehicles damage proof for only specific weapons for example. Regards Link to comment
Sergei Posted January 28, 2010 Author Share Posted January 28, 2010 Would it be also possible to add parameter which tells us which part of the vehicle was hit? Link to comment
Deixell Posted January 28, 2010 Share Posted January 28, 2010 You mean those vehicle parts than can brake or fall of when damaged? Link to comment
Deixell Posted January 28, 2010 Share Posted January 28, 2010 Try this: https://wiki.multitheftauto.com/wiki/Get ... PanelState https://wiki.multitheftauto.com/wiki/Set ... PanelState Link to comment
Sergei Posted January 28, 2010 Author Share Posted January 28, 2010 Yeah, but weapons usually don't visually damage any parts of vehicles, so checking all the parts all over doesn't help much. Link to comment
Recommended Posts