Version 3258 weaponDamageEvent hitComponent Bug #2848
Labels
bug
status:needs info
Requires more info before this issue/PR can move on
triage
Needs a preliminary assessment to determine the urgency and required action
What happened?
Using weaponDamageEvent to log damage data. In older game versions for example '2944' hitComponent works and returns its true values which is then converted to the bone name in the log.
On version 3258 hitComponent only returns 0 no matter what part of the body is damaged.
Expected result
Should be returning the correct hitComponent value like older versions.
Reproduction steps
Server side lua
AddEventHandler('weaponDamageEvent', function(source, data)
if not data or not data.hitGlobalId then return end
end)
Shoot another player, shoot different body parts and check server console for printed value.
Importancy
Slight inconvenience
Area(s)
FiveM
Specific version(s)
FiveM Game Build 3258
Additional information
No response
The text was updated successfully, but these errors were encountered: