Shoot in a car = turn off the engine
#4

Quote:
Originally Posted by Banditul18
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=577156
Use the OnPlayerShotVehicle callback from here, so you can take the vehicleid and the weaponid
He could simply use OnPlayerWeaponShot. If he shoots a vehicle then "hitid" is the shot vehicle's id.
Reply


Messages In This Thread
Shoot in a car = turn off the engine - by SonicFreeStyle - 11.06.2017, 09:54
Re: Shoot in a car = turn off the engine - by Banditul18 - 11.06.2017, 09:59
Re: Shoot in a car = turn off the engine - by SonicFreeStyle - 11.06.2017, 10:18
Re: Shoot in a car = turn off the engine - by GoldenLion - 11.06.2017, 10:21
Re: Shoot in a car = turn off the engine - by Banditul18 - 11.06.2017, 10:31
Re: Shoot in a car = turn off the engine - by SonicFreeStyle - 11.06.2017, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)