SA-MP Forums Archive
[HELP] Car - 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: [HELP] Car (/showthread.php?tid=131505)



[HELP] Car - whitedragon - 03.03.2010

How to make car stay to there where i exit the car??


Re: [HELP] Car - bartje01 - 03.03.2010

I think you mean that it respawns after a little while?
Then I think you are using this:
AddStaticVehicle(487,2013.5579,-2446.8843,13.3786,86.7601,5,5);

Well. There is no timer on it.
I use this

AddStaticVehicleEx(487,2013.5579,-2446.8843,13.3786,86.7601,5,5,1300);

Look at the 1300 on the end. that is 15 minutes. Means that the car respawns after 15 minutes.
If you want to have it stay for a reaaaaaaaal long tmie use this:
AddStaticVehicleEx(487,2013.5579,-2446.8843,13.3786,86.7601,5,5,9999999);
or something xD

Also look at the Ex. at AddStaticVehicleEx. It is the same as AddStaticVehicle

Only the Ex and the last numbers are different


Re: [HELP] Car - RSC_Quicker - 03.03.2010

I you want that the vehicle stays were you exit it. Just use AddStaticVehicle. Only when you reload the server its back on the old place.



Re: [HELP] Car - whitedragon - 04.03.2010

Quote:
Originally Posted by RSC_Quicker
I you want that the vehicle stays were you exit it. Just use AddStaticVehicle. Only when you reload the server its back on the old place.
Yes one server i see that car was on air and not fall down to ground


Re: [HELP] Car - RSC_Quicker - 04.03.2010

Well thats a lag or bug I gues. The car normaly falls to the grond.


Re: [HELP] Car - biltong - 04.03.2010

That happens to me when someone ejects off a bike or out a car in the air, and said vehicle moves out of the stream range, it just hangs there, and if you move closer, it then falls to the ground.