SA-MP Forums Archive
Dynamic Vehicles? - 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: Dynamic Vehicles? (/showthread.php?tid=241435)



Dynamic Vehicles? - Desertsoulz - 18.03.2011

Using dini if I wanted to create so that when an admin types /savecar it will
save a car into the Vehicles/%d.ini
but I'm confused completely on how to do it so it goes from 1 - 2000(the limit defined by samp)
then when the server loads it will go from file 1 - 2000 and place all the vehicle where they belong.

I've read tutorials such as: [tutorial] How to create your own vehicle system (this is the best one I saw)

But I still don't understand... Please help me.


Re: Dynamic Vehicles? - grand.Theft.Otto - 18.03.2011

Why not just get in a car, /save NameHere, and POOF;

AddStaticVehicle has already been done for you. Just check savedpositions.txt and copy that line into your gamemode/filterscript.

/save is available to everyone and is much more simple


Re: Dynamic Vehicles? - Unknown123 - 18.03.2011

oh nvm, i should have read better =/


Re: Dynamic Vehicles? - airsoft - 18.03.2011

If you really want dynamic car adder --> https://sampforum.blast.hk/showthread.php?tid=113739

lol just search


Re: Dynamic Vehicles? - Desertsoulz - 18.03.2011

@airsoft I want to know how its done...

@grand.theft.Otto i dont want to edit and restart the server every time I add a car...


Re: Dynamic Vehicles? - airsoft - 19.03.2011

Just base it off of the filterscript i posted -_-

Smart one.