Jump to content

onVehicleDamage - more parameters


Sergei

Recommended Posts

Posted

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!
Posted

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!
Posted

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!
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...