OnPlayerWeaponShot Bug - 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 Bug (
/showthread.php?tid=496614)
OnPlayerWeaponShot Bug -
Locky_ - 23.02.2014
Explanation of how it works:
we assume that the code OnPlayerWeaponShot, tire life of the vehicle so the shots hit.
Function is called when:
Shots with the player out of the vehicle;
Shots with the player as a passenger in any vehicle ..
If the player, you are in a vehicle, driving it, the script will not be called.
Sorry for my english.
If you do not understand, I do a very short video to show.
Re: OnPlayerWeaponShot Bug -
MP2 - 23.02.2014
For anyone that doesn't understand him, he's saying that OnPlayerWeaponShot isn't called for driver drive-bys.
This is because SA-MP doesn't sync the individual bullets for driver drive-bys, it simply syncs the key press (KEY_LOOK_RIGHT/KEY_LOOK_LEFT + KEY_FIRE).
Re: OnPlayerWeaponShot Bug -
AlonzoTorres - 23.02.2014
I could also add this old post, might be interesting for him.
https://sampforum.blast.hk/showthread.php?tid=489668