SA-MP Forums Archive
Guys need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Guys need help (/showthread.php?tid=494149)



Guys need help - MTiFa - 11.02.2014

I just wanted to know how to make the cars explode when nobody is in it in my server, because now whenever i shoot them they just stay there and never get hurt, please help thanks for reading


Re: Guys need help - CuervO - 12.02.2014

This thing has been made (simply) possible in 0.3z with the new OnPlayerWeaponShot callback. So your best chance is to remove damage from the vehicle itself when a shot is detected with said callback.


Re: Guys need help - Matt - 12.02.2014

0.3z has a function for this now according to what I read where you can do some coding to do unoccupied vehicle damage