OnPlayerWeaponShot Bug
#1

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.
Reply
#2

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).
Reply
#3

I could also add this old post, might be interesting for him.
https://sampforum.blast.hk/showthread.php?tid=489668
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)