10.02.2011, 18:28
(
Last edited by California; 14/02/2011 at 04:29 PM.
)
Cali-Cars
by California
I present to you, Cali-Cars!, my second release, and the most recent and advanced car ownership system you may know that will support 0.3c.
Features
You can set your own plate!
You can lock/find/park/sell your own vehicle.
You can store/take/check/open/close trunks.
Saves tuning on disconnect.
Loads tuning on connect.
COMMAND: /trunk
Access the trunk of your car, ten slots available.
Params: open, close, check, putgun, takegun
COMMAND: /park
Parks the vehicle at the position, and your car will load at this position at connect, also saves everything (even tuning), unexploitable, so when you /park, you keep your vehicle health.
Params: None
COMMAND: /sellcar
Sell your car back to the dealership for a 50% refund (the price of the car divided by two).
Params: None
COMMAND: /setplate
Pops up an input box to set your vehicle's plate.
Params: None
COMMAND: /findcar
If you lost your vehicle, you can use /findcar. A checkpoint will appear at the vehicle's last position.
Params: None
COMMAND: /lock
Lock your vehicle to avoid thieves from breaking in.
Params: None
COMMAND: /sellcarto
Sell your car to another online player.
Params: playerid, amount
Notes
You can only own one car.
There is only one dealership (located beside Jefferson Motel).
There are only eight cars (Intruder, Primo, Sunrise, Merit, Yosemite, Stratum, Emperor, Huntley).
You can change the cars in the script in less than ten seconds.
There might be one or two bugs, but they are easy to fix.
You need to download DINI.
YOU MUST CREATE A FOLDER IN YOUR SCRIPTFILES NAMED 'Cars' AND A FOLDER NAMED 'Trunk' OR THE SERVER WILL CRASH!! (thank you Las Venturas CNR).
License
By downloading Cali-Cars, you agree to the license and will not claim this property as yours, sell this script, or re-release without my permission.
Bugs, suggestions, etc..
If you found any bugs, please reply here or PM me.
If you have any suggestions, please reply here or PM me.
If your suggestion is about re-writing to a different file system, I will re-write it with a different system when I have time.
Download
by California
I present to you, Cali-Cars!, my second release, and the most recent and advanced car ownership system you may know that will support 0.3c.
Features
You can set your own plate!
You can lock/find/park/sell your own vehicle.
You can store/take/check/open/close trunks.
Saves tuning on disconnect.
Loads tuning on connect.
COMMAND: /trunk
Access the trunk of your car, ten slots available.
Params: open, close, check, putgun, takegun
COMMAND: /park
Parks the vehicle at the position, and your car will load at this position at connect, also saves everything (even tuning), unexploitable, so when you /park, you keep your vehicle health.
Params: None
COMMAND: /sellcar
Sell your car back to the dealership for a 50% refund (the price of the car divided by two).
Params: None
COMMAND: /setplate
Pops up an input box to set your vehicle's plate.
Params: None
COMMAND: /findcar
If you lost your vehicle, you can use /findcar. A checkpoint will appear at the vehicle's last position.
Params: None
COMMAND: /lock
Lock your vehicle to avoid thieves from breaking in.
Params: None
COMMAND: /sellcarto
Sell your car to another online player.
Params: playerid, amount
Notes
You can only own one car.
There is only one dealership (located beside Jefferson Motel).
There are only eight cars (Intruder, Primo, Sunrise, Merit, Yosemite, Stratum, Emperor, Huntley).
You can change the cars in the script in less than ten seconds.
There might be one or two bugs, but they are easy to fix.
You need to download DINI.
YOU MUST CREATE A FOLDER IN YOUR SCRIPTFILES NAMED 'Cars' AND A FOLDER NAMED 'Trunk' OR THE SERVER WILL CRASH!! (thank you Las Venturas CNR).
License
By downloading Cali-Cars, you agree to the license and will not claim this property as yours, sell this script, or re-release without my permission.
Bugs, suggestions, etc..
If you found any bugs, please reply here or PM me.
If you have any suggestions, please reply here or PM me.
If your suggestion is about re-writing to a different file system, I will re-write it with a different system when I have time.
Code:
CHANGELOG February 10, 2011: V1: Initial release. February 10, 2011: V1.1: Added /sellcarto + /accept car February 11, 2011: V1.3: Added messages when entering car + trunk removal on vehicle death + mod loading when vehicle spawned from being destroyed