View Issue Details

IDProjectCategoryView StatusLast Update
0009265New Feature Requests[All Projects] Generalpublic2017-08-18 12:00
ReporterOverMindAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
PlatformEveryoneOSEveryoneOS VersionEveryone
Summary0009265: [Request] New paramenter for "onClientPlayerDamage" event
Description

I'm suggesting to add a new parameter for the events "onClientPedDamage" and "onClientPlayerDamage". The parameter I'm suggesting it's the amount of shoots that the source has been hit.
This will be specially useful for shotguns since they shoot various rounds per shoot. If you haven't understood it I'll leave some SS's here:

Here is would return like ~10 rounds: http://i.imgur.com/zJVJECp.jpg

Here is would return like ~5 rounds: http://i.imgur.com/DoiPtYa.jpg

Steps To Reproduce

1- Shoot enemy's Ped
2- Return the amount of shoots that the ped recivied

Additional Information

N/A

TagsNo tags attached.

Users sponsoring this issue
Sponsors List Total Sponsorship = EUR 18

2016-06-13 01:54: OverMind (EUR 8)
2017-08-18 11:58: einheit-101 (EUR 10)
Users sponsoring this issue (Total Sponsorship = EUR 18)

Activities

OverMind

2016-06-13 14:11

viewer   ~~0024784

Seems like something have to be edited at
\MTA10\game_sa\CWeaponSA.cpp line 226

arranTuna

2016-06-16 12:17

manager   ~~0024811

And why would anyone need to know how many shotgun pellets hit?

AlexTMjugador

2016-06-16 12:55

viewer   ~~0024813

It could be useful in RP servers to estimate the hit area and create more accurate ballistics for shotguns.

einheit-101

2016-06-16 14:34

reporter   ~~0024814

Custom damage calculation since MTA┬┤s bullet sync is "not the best" to say it carefully

OverMind

2016-06-17 01:52

viewer   ~~0024820

Well we can say that there are more useless features on MTA than what I'm suggesting. I don't think that it will be much deal returning the amount of bullets.

einheit-101

2017-08-18 12:00

reporter   ~~0026156

Now since I released my server update there is a serious need to know how many shotgun pellets hit their target to calculate the inflicted damage. Because currently a shotgun with custom sync pretty much behaves like a rifle.

Issue History

Date Modified Username Field Change