Dynamic Vehicles?
#1

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.
Reply
#2

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
Reply
#3

oh nvm, i should have read better =/
Reply
#4

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

lol just search
Reply
#5

@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...
Reply
#6

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

Smart one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)