11.01.2018, 19:27
(
Last edited by IstuntmanI; 11/01/2018 at 09:07 PM.
)
If you are on foot and you shoot a driver/passenger in a vehicle (and damaging him) OnPlayerWeaponShot will only be called with hittype = BULLET_HIT_TYPE_VEHICLE with the hitid = player's vehicleid. The vehicle isn't actually shot at all and it isn't receiving damage and the driver/passenger is actually getting damage. In the "worst case" OnPlayerWeaponShot should be called twice: once for the vehicle and once for the damaged player.
I tried to find if this was already reported, but only the one about driveby-ing without calling the callback was reported.
I tried to find if this was already reported, but only the one about driveby-ing without calling the callback was reported.