Open zeuug opened 3 weeks ago
Please specify your server artifact that you have tested.
Please specify your server artifact that you have tested.
Server Artifact 9538
Please try again on latest artifact. We had weapon damage event changes after 9538.
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