mtasa-blue
mtasa-blue copied to clipboard
onClientProjectileCreation won't be called if rocket explodes immediately
Describe the bug Event won't be called if projectile (rocket) explodes pretty much instantly.
To reproduce
- Run code given below.
- Get rocket launcher.
- Shoot directly under your feet.
- Profit.
function onClientProjectileCreation()
local tickCount = getTickCount()
print(tickCount)
end
addEventHandler("onClientProjectileCreation", root, onClientProjectileCreation)
Expected behaviour It should be called.
Screenshots /
Version Client/server: MTA:SA Server v1.5.9-release-21002
Additional context /