SA-MP Forums Archive
Save vehicle longer? - 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: Save vehicle longer? (/showthread.php?tid=335646)



Save vehicle longer? - davve95 - 19.04.2012

Hi!


When I park my vehicle some where (Not in spawn)
The vehicle respawns very fast so I can't use it anymore.. So how to make it not re-spawn that fast??.


Aslo please look on this: https://sampforum.blast.hk/showthread.php?tid=335475


Re: Save vehicle longer? - Dan_Barocu - 19.04.2012

can i see your addstatic here you put the vehicle?


Re: Save vehicle longer? - sleepysnowflake - 19.04.2012

Well use the AddStaticVehicleEx.
That way the vehicle won't re-spawn.


Re: Save vehicle longer? - Dan_Barocu - 19.04.2012

heres an example

AddStaticVehicleEx(405,1406.93,-1790.2,13.3,90, 0, 0,15); // Here car respawns

AddStaticVehicleEx(405,1406.93,-1790.2,13.3,90, 0, 0,-1); // Car dosent respawn

i just went to convertor http://www.convertffs.com/ and i click Vehicle respawn time on 15

click there and put it -1!



Re: Save vehicle longer? - davve95 - 19.04.2012

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
Well use the AddStaticVehicleEx.
That way the vehicle won't re-spawn.
Quote:
Originally Posted by Dan_Barocu
Посмотреть сообщение
heres an example

AddStaticVehicleEx(405,1406.93,-1790.2,13.3,90, 0, 0,15); // Here car respawns

AddStaticVehicleEx(405,1406.93,-1790.2,13.3,90, 0, 0,-1); // Car dosent respawn

i just went to convertor http://www.convertffs.com/ and i click Vehicle respawn time on 15

click there and put it -1!
Thanks guys! .


Re: Save vehicle longer? - sleepysnowflake - 19.04.2012

No problem ^^. Happy to help!


Re: Save vehicle longer? - Dan_Barocu - 19.04.2012

youre Welcome!