01.04.2012, 09:33
(
Last edited by Gagi_Corleone; 23/04/2012 at 08:01 AM.
)
Info
In this filterscipt you can buy vehicle and when u buy it vehicle will be spawn. You go to place for buying cars and type /buycar and then you'll get textdraw and there will be Price,Name,Level,Max speed and with arrow keys you switch cars. When find car you press 'ENTER' and car will be spawn. Filterscript have command /v and there you can lock,unlock,sell,locate and change color of car. Also there is and car storage. And also you can easy add more cars for buying. And there is also alarm system:
Commands
/buycar - This type on coordinate what you put.
/stopbuying - to cancel buying cars
/v - With this you can do few thing with car
/gpsoff
/cwithdraw - put money in car
/cdeposit - take money from car
/cputgun - put gun in car
/ctakegun - take gun from car
/sellto - Sell car to player
/acceptsell
/refusesell
Video
[ame]http://www.youtube.com/watch?v=5PFY01tgvfA[/ame]
Bugs
There are no known bugs if you find one, report to me.
How to...
1) Add more cars on buy?
-Simply, just in OnFilterScriptInit add to other this: AddMoreCar(Vehicle_Model,Price,Max_Speed,Level); and set on NUMBER_OF_VEHICLES how much model is on buy
2) To change coordinates?
-Check this:
3) Get max car speed?
-You can get max speed on this site: http://gta.wikia.com/Vehicle_Stats_in_GTA_San_Andreas
3) Instal this?
-Unrar FS in you folder of gamemode
-Set information in server.cfg
-Then open FS and find #define NUMBER_FOR_LOAD+1 and there you set how much cars you have in gamemode. This is important. You must set it beacuse then it'll save properly
Download
Credits
Mr.Gagi - Made this
****** - sscanf,YSI
Prof.Dr.Lepotic(LeFlure) - Make this logo
gReeDy.aMx - Test script and find few bugs also give some suggestions
Double-O-Seven - ProxDetector
In this filterscipt you can buy vehicle and when u buy it vehicle will be spawn. You go to place for buying cars and type /buycar and then you'll get textdraw and there will be Price,Name,Level,Max speed and with arrow keys you switch cars. When find car you press 'ENTER' and car will be spawn. Filterscript have command /v and there you can lock,unlock,sell,locate and change color of car. Also there is and car storage. And also you can easy add more cars for buying. And there is also alarm system:
Commands
/buycar - This type on coordinate what you put.
/stopbuying - to cancel buying cars
/v - With this you can do few thing with car
/gpsoff
/cwithdraw - put money in car
/cdeposit - take money from car
/cputgun - put gun in car
/ctakegun - take gun from car
/sellto - Sell car to player
/acceptsell
/refusesell
Video
[ame]http://www.youtube.com/watch?v=5PFY01tgvfA[/ame]
Bugs
There are no known bugs if you find one, report to me.
How to...
1) Add more cars on buy?
-Simply, just in OnFilterScriptInit add to other this: AddMoreCar(Vehicle_Model,Price,Max_Speed,Level); and set on NUMBER_OF_VEHICLES how much model is on buy
2) To change coordinates?
-Check this:
Code:
#define COORDINATES 1948.0917,1370.3293,9.1094,90//Here you can put your coordinates for car where will be car on list spawn #define COORDINATES_FOR_BUY 1948.0917,1370.3293,9.1094//Coordinates where player can type /buycar #define SPAWN_cX 1948.0917//Coordainte X where buyed car will be spawn #define SPAWN_cY 1375.3293//Coordainte Y where buyed car will be spawn #define SPAWN_cZ 9.1094//Coordainte Z where buyed car will be spawn #define SPAWN_cA 90//Angle of spawned cars
-You can get max speed on this site: http://gta.wikia.com/Vehicle_Stats_in_GTA_San_Andreas
3) Instal this?
-Unrar FS in you folder of gamemode
-Set information in server.cfg
-Then open FS and find #define NUMBER_FOR_LOAD+1 and there you set how much cars you have in gamemode. This is important. You must set it beacuse then it'll save properly
Download
Credits
Mr.Gagi - Made this
****** - sscanf,YSI
Prof.Dr.Lepotic(LeFlure) - Make this logo
gReeDy.aMx - Test script and find few bugs also give some suggestions
Double-O-Seven - ProxDetector