SA-MP Forums Archive
OnPlayerWeaponShot is not called? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: OnPlayerWeaponShot is not called? (/showthread.php?tid=571608)



OnPlayerWeaponShot is not called? - De4dpOol - 20.04.2015

OnPlayerWeaponShot callback is not called when we fire 2 hand weapons standing like this:


Also tried to see the animation but it is COLT42 colt42_fire (same animation as normal aim and fire with 2 hands).


Re: OnPlayerWeaponShot is not called? - Kar - 20.04.2015

So this is why my ammo sync system loses synch of ammo. You are totally right!

This needs to be addressed in 0.3.7!


Re: OnPlayerWeaponShot is not called? - Pottus - 20.04.2015

It must not actually do any bullet vector calculations in that position but just take ammo.


Re: OnPlayerWeaponShot is not called? - Evocator - 20.04.2015

Quote:
Originally Posted by Kar
Посмотреть сообщение
So this is why my ammo sync system loses synch of ammo. You are totally right!

This needs to be addressed in 0.3.7!
This also applies on TEC-9s and UZIs. I get false checks because of this too!


Re: OnPlayerWeaponShot is not called? - De4dpOol - 26.04.2015

Quote:
Originally Posted by Kar
Посмотреть сообщение
So this is why my ammo sync system loses synch of ammo. You are totally right!

This needs to be addressed in 0.3.7!
I'm having the same problem. So should I need open a new thread in "0.3.7 RC scripting" section?


Re: OnPlayerWeaponShot is not called? - Kyle - 26.04.2015

I've got this linked to the powers that be. Hopefully this will be looked into.


Re: OnPlayerWeaponShot is not called? - Sergei - 26.04.2015

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
This also applies on TEC-9s and UZIs. I get false checks because of this too!
False checks? If real value is lower than your stored value there's really no problem. Just set your saved value to the real one on next occasion.