Sergei Posted January 28, 2010 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 Can people avoid telling other people to 'code it themselves'. It's not helpful, and it puts people off. We're happy to take suggestions, obviously if you code it yourself, it's more likely to be accepted into MTA!
Sergei Posted January 28, 2010 Author Posted January 28, 2010 Would it be also possible to add parameter which tells us which part of the vehicle was hit? Can people avoid telling other people to 'code it themselves'. It's not helpful, and it puts people off. We're happy to take suggestions, obviously if you code it yourself, it's more likely to be accepted into MTA!
Deixell Posted January 28, 2010 Posted January 28, 2010 You mean those vehicle parts than can brake or fall of when damaged?
Deixell Posted January 28, 2010 Posted January 28, 2010 Try this: https://wiki.multitheftauto.com/wiki/Get ... PanelState https://wiki.multitheftauto.com/wiki/Set ... PanelState
Sergei Posted January 28, 2010 Author 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. Can people avoid telling other people to 'code it themselves'. It's not helpful, and it puts people off. We're happy to take suggestions, obviously if you code it yourself, it's more likely to be accepted into MTA!
Recommended Posts