Vehicle take damage
#6

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


Messages In This Thread
Vehicle take damage - by Lidor124 - 19.04.2014, 15:09
Re: Vehicle take damage - by doreto - 19.04.2014, 15:10
Re: Vehicle take damage - by Lidor124 - 19.04.2014, 16:14
Re: Vehicle take damage - by doreto - 19.04.2014, 17:48
Re: Vehicle take damage - by Lidor124 - 20.04.2014, 13:32
Re: Vehicle take damage - by arakuta - 20.04.2014, 13:43
Re: Vehicle take damage - by Dziugsas - 20.04.2014, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)