SA-MP Forums Archive
Auto-Delete Car after no one use it - 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: Auto-Delete Car after no one use it (/showthread.php?tid=393081)



Auto-Delete Car after no one use it - isheremse - 16.11.2012

Hello

How to set that car automatic blow up, disappear or just gone after player don't use it any more ?
So that prevent too much cars on one place.


tnx


Re: Auto-Delete Car after no one use it - iGetty - 16.11.2012

Set a timer, or use OnPlayerExitVehicle and call DestroyVehicle(vehicleid);

Then you have your solution.

Sorry for any mistakes, reply was wrote on a BlackBerry cell phone.


Re: Auto-Delete Car after no one use it - isheremse - 17.11.2012

Quote:
Originally Posted by iGetty
Посмотреть сообщение
Set a timer, or use OnPlayerExitVehicle and call DestroyVehicle(vehicleid);

Then you have your solution.

Sorry for any mistakes, reply was wrote on a BlackBerry cell phone.
I have static cars and i also use cars from carmenu(/v).

Is it possible to set that vehicle from carmenu(/v) be delete after player exit car?
And is it possible to set that static vehicle be respawn after player exit car?

tnx