Vehicle Pos save? - 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)
+--- Thread: Vehicle Pos save? (
/showthread.php?tid=337280)
Vehicle Pos save? -
Admigo - 25.04.2012
Heey all,
Is there a vehicle filterscript that can save your car at a location?
Thanks Admigo
Re: Vehicle Pos save? -
xX_Simon_Xx - 25.04.2012
i don't understand you wana save vehicle cordinates ?
Re: Vehicle Pos save? -
niels44 - 25.04.2012
if you want to save a vehicle ingame then you dont need a filterscript mate!
go ingame>> get in a car>> park it at the right spot>> type /save mycar >> and your car is saved to: C:\\Users\YourName\My Documents\Gta San Andreas User Files\Samp\savedpositions.txt
i hope i helped you out
greets niels
Re: Vehicle Pos save? -
Jonny5 - 25.04.2012
there are allot of them
just
search the
filterscripts section
@simon
i think he wants a dynamic vehicle saving system.
Re: Vehicle Pos save? -
Admigo - 25.04.2012
I mean players in server can use /savecar so them cars will be saved at a position with ini or something. I already seached for a vehicle system but they dont save position.
Re: Vehicle Pos save? -
niels44 - 25.04.2012
ah that way...
well i am not so good with ini saving systems so you have to ask someone else... im learning to use ini systems atm so sorry
Re: Vehicle Pos save? -
Jonny5 - 25.04.2012
Quote:
Originally Posted by admigo
I mean players in server can use /savecar so them cars will be saved at a position with ini or something. I already seached for a vehicle system but they dont save position.
|
players? or admins?
if you want the locations to be able to be edited youll need something like the AVS filterscript
if you want so your admins can run around to add vehicles this is easy
no need for ini, just use raw text file you amend to.
and when your server loads, load that file using raw file functions and sscanf
its a breeze!
explain what you want maybe i can help give you some code to get you started
Re: Vehicle Pos save? -
Admigo - 25.04.2012
I want that players can save only one car that they bought from dealer. I only need the save car position code.
Re: Vehicle Pos save? -
Jonny5 - 25.04.2012
you'll need to use an ini system or sql system.
that would probably be the fastest,
their are lots of system already that do this, i think you should search more.