20.04.2011, 20:10
(
Последний раз редактировалось Tee; 02.10.2011 в 05:31.
Причина: Changing the title.
)
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. */
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.