[FilterScript] Simple CarOwnership
#1

Car Ownership.

PS: Some writings are in Romanian.You can translate it yourself.

Do not add this FS in server.cfg

Commands!!!

/v buy = Buy's the current car your IN.
/v park = Park's the car in the current location.
/v setplate = Set's the vehicle Plate to your own.
/v color = Change's the car color.
/v sell = Sell's the car at a DealerShip location.
/v lock(1-3) = Lock's the car.
/asetkey = Set's a player Car Key for Null write -1. Something like /setstat
/mycars = Show's the owned cars.
/removetuning = Remove's the tuning parts 1 by one or all.
/acreatecar = Create's a vehicle.EX: /acreatecar 522(NRG-500) 0(color1) 1(color2) 50000(car price)
/adeletecar = Delete's the current car from masini.cfg
/apark = Admin car park.
/asellcar = Admin sell car.
/v sellto = Sell's the car to another player.
/accept = Accept's the current car sell.
/cancel = Cancel's the current car sell.

added in v2.3

/v locate(1-3) = Locate your car and place a checkpoint on minimap.
/v tow(1-3) = Tow your car to your last parked location.

WARNING!!!

To make this FS work you shold do exactly:
Place this in your gamemode, or implement.

pawn Код:
public OnGameModeExit()
{
    SendRconCommand("unloadfs carownership");
    return 1;
}

//add this to the end of OnGameModeInit
SendRconCommand("loadfs carownership");
Not to have:

1: Another car ownership.
2: Dynamic Vehicle System.

Now.
You shold count all your cars inside your gamemode something like:
AddStaticVehicle or CreateVehicle.

EX:

pawn Код:
//-------------------------------------------------------------------------------------------
    AddStaticVehicleEx(596,2779.3843,-2434.2644,13.3568,88.5203, 44, 86, 30000); // Army police 1
    AddStaticVehicleEx(596,2779.4299,-2439.7708,13.3572,88.1692,44,86,30000); // Army police 2
    AddStaticVehicleEx(596,2779.1882,-2471.9214,13.3576,86.6550,44,86,30000); // Army police 3
    AddStaticVehicleEx(596,2779.1497,-2477.8547,13.3590,86.9500,44,86,30000); // Army police 4
    AddStaticVehicleEx(432,2791.3584,-2494.2971,13.6588,89.3376,43,0,30000); // Army tank 5
    AddStaticVehicleEx(470,2792.0173,-2455.8245,14.0688,90,43,0,30000); // Army patriot 6
    AddStaticVehicleEx(470,2793.1680,-2418.1855,13.6259,88.3914,-1, -1, 30000); // Patriot 7
    AddStaticVehicleEx(470,2785.0979,-2417.6987,13.6273,87.4559, -1, -1, 30000); //Patriot 8
    AddStaticVehicleEx(433,2781.4146,-2455.5208,14.0714,90,43,0,30000); // Army truck 9
    AddStaticVehicleEx(430,2698.8132,-2311.0671,-0.2161,87.3657,-1, -1, 30000); // Army boat 10
    AddStaticVehicleEx(430,2722.9766,-2311.2756,-0.3360,89.2799,-1, -1, 30000); // Army boat 11
after you counted all your cars, go inside the FS and modify:

pawn Код:
new carsonserver = 290;
to:
PS: if you have for ex 500 cars you should put 501.

EX:
pawn Код:
new carsonserver = 501;
This FS is still under development.

Bugs:

I dind't found any.
If you find some post them here.

DOWNLOAD LINKS v2.3:

V2.3 Download MegaUpload
V2.3 Download SendSpace
V2.3 Download SolidFiles

DOWNLOAD LINKS:

Download MegaUpload
Download SendSpace
Download SolidFiles

PasteBin here

Hope you like it.
Reply


Messages In This Thread
Simple CarOwnership - by Im_BanK - 27.05.2011, 12:50
Re: Simple CarOwnership - by System64 - 27.05.2011, 13:03
Re: Simple CarOwnership - by Defrago - 27.05.2011, 13:14
Re: Simple CarOwnership - by Im_BanK - 27.05.2011, 13:40
Re: Simple CarOwnership - by Lazy_Duck - 27.05.2011, 17:38
Re: Simple CarOwnership - by Phanto90 - 27.05.2011, 17:47
Re: Simple CarOwnership - by Im_BanK - 27.05.2011, 18:17
Re: Simple CarOwnership - by Lazy_Duck - 27.05.2011, 18:51
Re: Simple CarOwnership - by Im_BanK - 28.05.2011, 08:16
Re: Simple CarOwnership - by BASITJALIL - 28.05.2011, 08:35
Re: Simple CarOwnership - by Im_BanK - 28.05.2011, 09:46
Re: Simple CarOwnership - by kadaradam - 28.05.2011, 10:14
Re: Simple CarOwnership - by Im_BanK - 28.05.2011, 10:18
Re: Simple CarOwnership - by kadaradam - 28.05.2011, 11:57
Re: Simple CarOwnership - by cipperu - 28.05.2011, 17:34
Re: Simple CarOwnership - by kadaradam - 29.05.2011, 08:43
Re: Simple CarOwnership - by Swiftz - 29.05.2011, 16:36
Re: Simple CarOwnership - by The Taker - 13.06.2011, 16:05
Re: Simple CarOwnership - by Iphone1234g - 13.06.2011, 16:09
Re: Simple CarOwnership - by TheArcher - 13.06.2011, 16:56
Re: Simple CarOwnership - by GBLTeam - 14.06.2011, 13:01
Re: Simple CarOwnership - by ALeXy29 - 19.06.2011, 21:21
Re: Simple CarOwnership - by kadaradam - 24.06.2011, 16:36
Re: Simple CarOwnership - by NcP - 27.06.2011, 09:46
Re: Simple CarOwnership - by OUL - 30.06.2011, 00:03
Re: Simple CarOwnership - by kadaradam - 30.06.2011, 10:35
Re: Simple CarOwnership - by Ghost252 - 30.06.2011, 23:15
Re: Simple CarOwnership - by Lookin - 18.07.2011, 15:26
Re: Simple CarOwnership - by CoLLYY - 07.08.2011, 23:47
Re: Simple CarOwnership - by dickyodie - 26.10.2011, 07:40
Re: Simple CarOwnership - by TheEpicBraxton - 23.12.2012, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)