SA-MP Forums Archive
Delete empty 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: Delete empty cars? (/showthread.php?tid=70759)



Delete empty cars? - hipy - 27.03.2009

hi , does anybody have an idea how to delete an UNUSED CAR ( so no driver :P )


Re: Delete empty cars? - sebihunter - 27.03.2009

https://sampwiki.blast.hk/wiki/DestroyVehicle


Re: Delete empty cars? - hipy - 27.03.2009

No i mean if a car gets there due to a bug/cheater w/e that the script deleteds it


Re: Delete empty cars? - fallen - 28.03.2009

well
the easiest way is probably to do a /gmx if you have an admin script,
that will quickly restart your server
you could probably look for a filterscript for that, theres probably like 20 of them

ive never really encountered one of those problems before,

what i do is just to make sure that any car spawn commands anybody can use on the server spawn it DYNAMIC and not STATIC.
dynamic meaning once you spawn another , it will be destroyed
static means it stays there and respawns there until server is restarted


Re: Delete empty cars? - Redirect Left - 28.03.2009

I helped him on IRC earlier. He's okay now