Vehicle attached to a gun that shoots?
#1

Hi


How to attach a gun that shoots a vehicle and wounding a player?


I did not find any function.
Reply
#2

I don't know where do you want to attach the gun to or how to make a gun shoot a vehicle but you can get the ID of the player that is in the vehicle with https://sampwiki.blast.hk/wiki/GetPlayerVehicleID and then minus his health using SetPlayerHealth.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)