-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
Describe the bug
If you shoot someone outside of the world bounds with a gun everything works fine, if you shoot them with a sniper rifle, onClientPlayerDamage triggers as expected for the receiver of damage but not for the attacker and the attacker does not see the receiver of damage react to the damage.
To Reproduce
Have 2 clients connected.
crun addEventHandler("onClientPlayerDamage", root, function() outputChatBox("Damage") end)
srun createObject(10831, -3100, -3100, 5)
crun setElementPosition(localPlayer, -3100, -3100, 15)
- Equip sniper rifle and shoot another player, see that "Damage" doesn't appear in chatbox when using a sniper rifle.
Expected behaviour
The event should trigger.
Screenshots
If applicable, add screenshots to help explain your problem.
MTA Client (please complete the following information):
Multi Theft Auto v1.5.6-release-14370
MTA Server (please complete the following information):
MTA:SA Server v1.5.5-release-12010
Additional context
Bullet sync being on or off made no difference.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working