SA-MP Forums Archive
[FilterScript] SaveX - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SaveX (/showthread.php?tid=249850)



SaveX [File Version] - Tee - 20.04.2011

SaveX 1.0
pawn Код:
/*
                 sssss     aa   v        v   eeeeeeee   x     x
                (         a  a   v      v   e            x   x
                ssss     aaaaaa   v    v   eeee            x
                    )   a      a   v  v   e              x   x
             sssssss   a        a   v    eeeeeeee      x       x
                                                                   
Hello SA:MP scripters, this Filterscript is a simple one. I am not sure if SA:MP has a command
that allows you to save vehicles as "AddStaticVehicleEx" or "CreateVehicleEx".
I was tired of having to type /save then open the file and removed "AddStaticVehicle" and put "AddStaticVehicleEx"
and the same for "CreateVehicleEx". So I have created a FilterScript that allows you to do that.
It has 2 types 1 - AddStaticVehicleEx and 2 - CreateVehicleEx. Then it saves them to your "scriptfiles" folder.
All you need to do is open the file "CreateEx.txt" or "AddEx.txt" and copy and paste the lines to your script. Simple :D.
Well that is basically what it does. */
Information:

Instead of typing /save then My Documents/SAMP/savedpositions.txt and change the AddStaticVehicle to AddStaticVehicleEx then set the "respawn_delay". This script does that for you

Requirements:

You will need: zcmd, sscanf, GetVehicleColor and dini includes, which are included in the solidfiles link.

Instructions:

Just copy and paste the includes to your "pawno/includes" folder then copy the FS to your "filterscripts" folder. And add "SaveX" to your filterscript line in server.cfg.

Downloads:

Pastebin. (Not recomended (Does not come with the includes))
Solidfiles. (Recomended (Come with the includes))

Command: /savex.

After you use it just go to the sciptfiles folder and open AddEx.txt if you entered type 1 and CreateEx if you entered type 2.


Re: SaveX - justsomeguy - 20.04.2011

Ow nice i like this!


Re: SaveX - Tee - 20.04.2011

Instead of typing /save then My Documents/SAMP/savedpositions.txt and change the AddStaticVehicle to AddStaticVehicleEx then set the "respawn_delay". This script does that for you.


Re: SaveX - zack3021 - 06.06.2011

Nice Filterscript Tee, I will be using it.


Re: SaveX - BASITJALIL - 06.06.2011

Awa nice i like it


Re: SaveX - Sascha - 08.08.2011

nice script


Re: SaveX - tanush - 08.08.2011

cool


Re: SaveX - ylleron - 08.08.2011

ou nice man.. thumb up !