SA-MP Forums Archive
[FilterScript] Car ownership by Mr.Gagi - 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] Car ownership by Mr.Gagi (/showthread.php?tid=330364)

Pages: 1 2


Car ownership by Mr.Gagi - Gagi_Corleone - 01.04.2012

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:
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
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


Re: Car ownership by Mr.Gagi - nielsbon1 - 01.04.2012

Nice done i love it :P I will test it out.


Re: Car ownership by Mr.Gagi - Vegas. - 01.04.2012

Excelent 10/10 ! To Gagi care


Re: Car ownership by Mr.Gagi - Aleluja - 01.04.2012

Well done.


Re: Car ownership by Mr.Gagi - danijel123 - 01.04.2012

Nice 10/10!

Serbian: Svaka cast gagi


Re: Car ownership by Mr.Gagi - arman'as - 01.04.2012

NICE work


Re: Car ownership by Mr.Gagi - SpiderWalk - 01.04.2012

Extra!I love it too!

Serbian:Komsije ce da me biju zbog preglasnog rokenrola


Re: Car ownership by Mr.Gagi - ikey07 - 01.04.2012

Looks good, but why so complicated, why need some 1st car, 2nd car etc?
make that its effects closest car
Why /v and dialog?
use just /park /color /lock cmds, not even /v lock orso, people like simple things, but in same time uber cool, sorry, but if I judge this as FS, well ok, its working, but its one of, not the one.

4/10


Re: Car ownership by Mr.Gagi - Gagi_Corleone - 01.04.2012

Quote:
Originally Posted by ikey07
View Post
Looks good, but why so complicated, why need some 1st car, 2nd car etc?
make that its effects closest car
Why /v and dialog?
use just /park /color /lock cmds, not even /v lock orso, people like simple things, but in same time uber cool, sorry, but if I judge this as FS, well ok, its working, but its one of, not the one.

4/10
I agree with this for closest car. In the update will make.
/v will be in dialog i think to that is easier to players.
And thanks to all


Re: Car ownership by Mr.Gagi - Maki187 - 01.04.2012

10/10 Gagi


Re: Car ownership by Mr.Gagi - MichaelProPlayer - 01.04.2012

Dude I love you..I was just searching for this.Finally I got it Thanks dude..


Re: Car ownership by Mr.Gagi - Gagi_Corleone - 01.04.2012

Quote:
Originally Posted by MichaelProPlayer
Посмотреть сообщение
Dude I love you..I was just searching for this.Finally I got it Thanks dude..
You're welcome I'm glad it helped


Re: Car ownership by Mr.Gagi - KinX - 01.04.2012

Awesome FS 10/10 !

Just 1 question:
This FS salve the MODS that you put in the cars?
Like NOS, etc.


Re: Car ownership by Mr.Gagi - Gagi_Corleone - 01.04.2012

Quote:
Originally Posted by KinX
Посмотреть сообщение
Awesome FS 10/10 !

Just 1 question:
This FS salve the MODS that you put in the cars?
Like NOS, etc.
Oh, I forgot to make it in the update I'll make.


Re: Car ownership by Mr.Gagi - xXitsgodzillaXx - 23.04.2012

link is dead. upload to pastebin!


Re: Car ownership by Mr.Gagi - Gagi_Corleone - 23.04.2012

Quote:
Originally Posted by xXitsgodzillaXx
Посмотреть сообщение
link is dead. upload to pastebin!
Link fixed


Re: Car ownership by Mr.Gagi - TuTh - 23.04.2012

when i unlock the car say that i stealing car


Re: Car ownership by Mr.Gagi - Sting. - 23.04.2012

Nice. Good one Gagi.


Re: Car ownership by Mr.Gagi - geerdinho8 - 11.05.2012

If i buy a car, it doesnt spawn at the coordinates where is set the carspawn. When i try to locate it, it says it is at 0,0,0 but if go there it isnt there and even when i restart the server, the car doens't really spawn.


Re: Car ownership by Mr.Gagi - HaZaRaS™ - 11.05.2012

go0d one but i will praise u after u will create the BUSINESS one nice