SA-MP Forums Archive
OnVehicleDeath - 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: OnVehicleDeath (/showthread.php?tid=329812)



OnVehicleDeath - viddo - 30.03.2012

Ok so i made that if a vehicle blow it will get destroyed, But i only want this for owned vehicles and i don't know what to do.


Re: OnVehicleDeath - Mike_Peterson - 30.03.2012

Make a check if the destroyed vehicle is an owned vehicle, then continue, if not, stop the function.