Save Server settings even after closing it?
#1

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)