SA-MP Forums Archive
My car spawning system, How to "Destroy Cars" - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: My car spawning system, How to "Destroy Cars" (/showthread.php?tid=174276)



My car spawning system, How to "Destroy Cars" - lewismichaelbbc - 05.09.2010

Hi, i am currently running my own car system on my server. But when i woke up this morning i found that there were at least 200 cars at the spawning point. This is because people keep spawning cars and i dont know how to script destroycar.

I would really like it if someone could spawn a car... leave the car... spawn another one, and then the last car gets destroyed. Can anyone help me or give me the code for it?

Thank You,

Edit: How can i destroy the players spawned cars on server exit? - This would be better!