SA-MP Forums Archive
Save Server settings even after closing it? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Save Server settings even after closing it? (/showthread.php?tid=470449)



Save Server settings even after closing it? - nabeelfarooqui98 - 18.10.2013

ok, heres my situation in detail....

I wanted to play SA:MP with my brother on LAN, I learned a bit of pawn and modified the Grand Larceny GM and added a bit of cash, guns, a bunch of TPs etc.

I started the server, no problems. Everything works fine. We usually mod cars and have insanely long races

THE PROBLEM
Like if we mods a dozen cars and park them on a hill, I want them to stay there until our next session, I know that its possible by just leaving the 'server' running (that black CMD promt looking thingy). But our sessions can be a few days apart aswell.

I wanted to know that whether there are some sort of 'files' created when a server is running? I could save them and change the GM script so that it checks and/or simply loads those 'settings' from the previous session?

I tried searching, I couldn't find anything too close to my problem.

Thanks.


Re: Save Server settings even after closing it? - Superhot - 18.10.2013

To save the cars, you must go in the car and type /save.

And then go to you your documents folder > GTA userfiles > savepositions, then copy all the code (AddStaticVehicle) to your .pwn, under OnGamemodeInIt


Re: Save Server settings even after closing it? - nabeelfarooqui98 - 18.10.2013

no no no..... I know that. but Thats for making a server, and adding cars. I already have a server. When the players change the positions, colours, damage etc of a car. Thats what im asking.