SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 01/04/2012, 09:33 AM   #1
Gagi_Corleone
Big Clucker
 
Join Date: Mar 2011
Location: Budjanovci,Serbia
Posts: 117
Reputation: 76
Default Car ownership by Mr.Gagi


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
__________________
My Works

[FilterScript] GiDan Admin system
[FilterScript] Gagi's Dynamic House System
[FilterScript] IG Job Maker
[FilterScript] Car ownership
[FilterScript] Gagi's Dynamic Event System

Last edited by Gagi_Corleone; 23/04/2012 at 08:01 AM.
Gagi_Corleone is offline   Reply With Quote
Old 01/04/2012, 09:40 AM   #2
nielsbon1
Huge Clucker
 
nielsbon1's Avatar
 
Join Date: May 2009
Location: Dutch/NL
Posts: 302
Reputation: 11
Default Re: Car ownership by Mr.Gagi

Nice done i love it :P I will test it out.
__________________
PHP Web Developer.

Currently Websites:
www.goed-recept.nl
nielsbon1 is offline   Reply With Quote
Old 01/04/2012, 09:47 AM   #3
Vegas.
Big Clucker
 
Join Date: Dec 2011
Posts: 113
Reputation: 6
Default Re: Car ownership by Mr.Gagi

Excelent 10/10 ! To Gagi care
Vegas. is offline   Reply With Quote
Old 01/04/2012, 09:52 AM   #4
Aleluja
Big Clucker
 
Join Date: Jul 2010
Location: Croatia
Posts: 98
Reputation: 0
Default Re: Car ownership by Mr.Gagi

Well done.
Aleluja is offline   Reply With Quote
Old 01/04/2012, 10:07 AM   #5
danijel123
Little Clucker
 
Join Date: Nov 2011
Posts: 6
Reputation: 7
Default Re: Car ownership by Mr.Gagi

Nice 10/10!

Serbian: Svaka cast gagi
danijel123 is offline   Reply With Quote
Old 01/04/2012, 10:27 AM   #6
arman'as
Little Clucker
 
arman'as's Avatar
 
Join Date: Mar 2012
Location: LIETUVA
Posts: 42
Reputation: 0
Default Re: Car ownership by Mr.Gagi

NICE work
__________________

arman'as is offline   Reply With Quote
Old 01/04/2012, 10:42 AM   #7
SpiderWalk
Gangsta
 
SpiderWalk's Avatar
 
Join Date: Apr 2010
Location: Serbia
Posts: 970
Reputation: 26
Default Re: Car ownership by Mr.Gagi

Extra!I love it too!

Serbian:Komsije ce da me biju zbog preglasnog rokenrola
SpiderWalk is offline   Reply With Quote
Old 01/04/2012, 10:52 AM   #8
ikey07
High-roller
 
ikey07's Avatar
 
Join Date: Jul 2010
Location: Latvia,Riga
Posts: 1,169
Reputation: 180
Default Re: Car ownership by Mr.Gagi

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
__________________
ikey07 is offline   Reply With Quote
Old 01/04/2012, 11:16 AM   #9
Gagi_Corleone
Big Clucker
 
Join Date: Mar 2011
Location: Budjanovci,Serbia
Posts: 117
Reputation: 76
Default Re: Car ownership by Mr.Gagi

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
__________________
My Works

[FilterScript] GiDan Admin system
[FilterScript] Gagi's Dynamic House System
[FilterScript] IG Job Maker
[FilterScript] Car ownership
[FilterScript] Gagi's Dynamic Event System
Gagi_Corleone is offline   Reply With Quote
Old 01/04/2012, 12:33 PM   #10
Maki187
Little Clucker
 
Join Date: Jun 2011
Location: Belgrade, Serbia
Posts: 23
Reputation: 9
Default Re: Car ownership by Mr.Gagi

10/10 Gagi
Maki187 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] IG Job Maker by Mr.Gagi Gagi_Corleone Filterscripts 119 28/05/2018 08:57 PM
[FilterScript] GiDan Admin System by: Gagi & Danijel96.pwn Gagi_Corleone Filterscripts 168 22/02/2018 01:53 PM
Car ownership? Naxix Help Archive 10 29/04/2010 03:05 PM
Name And Not ID Car Ownership Kyle Help Archive 5 12/06/2009 06:30 PM


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.