SA-MP Forums Archive
Destroy Vehicle+Timer - 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: Destroy Vehicle+Timer (/showthread.php?tid=352680)



Destroy Vehicle+Timer - kbalor - 20.06.2012

How to destroy vehicle with timer??

When i exit the vehicle i want to disappear or destroy my car after 2 mins.

I know there is something about DestroyVehicle(vehicleid); but i really dont know how to use and to add.


Re: Destroy Vehicle+Timer - MarTaTa - 20.06.2012

If you want to add a car, which respawns after not beeing used 2 mins you need to use
pawn Код:
AddStaticVehicleEx
Here you can find more about it : https://sampwiki.blast.hk/wiki/AddStaticVehicleEx


Re: Destroy Vehicle+Timer - Blunt - 20.06.2012

AddStaticVehicleEx (model, x, y, z, angle, color1, color2, 120);