[FilterScript] CarSaver 1.0
#1

This is my first filterscript so please do not flame in your comments!
Car Saver 1.0 by LiamM

I know quite a few people that at one point and maybe still do use /save to add vehicles to there gamemode, simply by getting in a car and typing /save. Opening up the txt document and copying and pasting the code onto the OnGameModeInit. Here is an example of the code used
pawn Код:
AddStaticVehicle(562, 2339.2990, 2048.4421, 10.3351, 179.4682, -1, -1);
Many people like to do it this way as they can see and park precisely where they want the vehicle to be, but there is a downside to this method. Myself and probably others like me prefer to use AddStaticVehicleEx so they can add a respawn delay timer at the end! Which has to be done manually when doing /save.

So I thought i'd script a quick filterscript that doe's just that! So instead of this code appearing

pawn Код:
AddStaticVehicle(562, 2339.2990, 2048.4421, 10.3351, 179.4682, -1, -1);
This Code Appears
pawn Код:
AddStaticVehicleEx(562, 2339.2990, 2048.4421, 10.3351, 179.4682, -1, -1, 1000);
It is a very BASIC AND SIMPLE filterscript that most people would no doubt be able to make, but this saves you having to make it! I began using this for my own server but thought i'd finally get a bit of help fixing a few bugs that I dealt with and release it to the public!

Here are a couple of notes to do with the filterscript before downloading!
  • The default respawn limit is set to 1000 (1 Second) it can be changed by editing it in the Pwn file if you know what you are doing
  • It requires the ZCMD include! The link will be below, ZCMD is used for the command you type to save the vehicles pos
  • You will need to add a directory called "SavedVehicles" without the speech marks! It is also Cap sensitive I believe
  • The command to save a vehicles position when in a vehicle is /saveveh
Links Below
Click here for the ZCMD Pawn Include required to use this!
Download CarSaver 1.0!

More Updates coming soon, things such as being able to choose the car color so it isn't an out of sync color! Feel free to do it your self if you know how too!
The purpose of this script is to easily copy and paste added vehicles into your script without all the hassle.


I'd like to Thank:
Wesley221 for helping repair a old bug to do with saving the files to the txt document.

I apologize if someone else has already made a filterscript like this but if not, here it is! Very simple and very basic but it doe's what its meant too, enjoy! Any bugs found please leave a comment!
Reply


Messages In This Thread
CarSaver 1.0 - by LiamM - 08.11.2011, 18:08
Re: CarSaver 1.0 - by Marshall32 - 08.11.2011, 20:30
Re: CarSaver 1.0 - by LiamM - 08.11.2011, 21:23
Re: CarSaver 1.0 - by BubliFuck - 01.09.2012, 04:55
Re: CarSaver 1.0 - by LiamM - 16.09.2012, 11:27
Re: CarSaver 1.0 - by nojdh - 16.09.2012, 22:29
Re: CarSaver 1.0 - by levski9620 - 16.09.2012, 23:36
Re: CarSaver 1.0 - by NoahF - 17.09.2012, 10:11
Re: CarSaver 1.0 - by Qu3esL - 17.09.2012, 10:28
Re: CarSaver 1.0 - by Gioslami - 17.09.2012, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)