20.04.2014, 13:43
I don't know the original values, you should test each one.
Then create a float array with those values.
And of course, check if the vehicle is unnoccupied, because when lagcomp is on, as you shot in a vehicle, there is a lag compensation also.
By the way, OnPlayerWeaponShot only works with bullet weapons, as far as i know. So, if you you rocket an unnoccupied vehicle, nothing will happens.
Then create a float array with those values.
And of course, check if the vehicle is unnoccupied, because when lagcomp is on, as you shot in a vehicle, there is a lag compensation also.
By the way, OnPlayerWeaponShot only works with bullet weapons, as far as i know. So, if you you rocket an unnoccupied vehicle, nothing will happens.