Core CarSharing (core_carsharing) lets you set up car sharing zones on an ESX server. Vehicles slowly appear in each zone, and players can take one and drive to another zone (or anywhere, if you allow it) while paying a price for every minute. It is a simple way to give players transport across the map, for example from the hospital or the prison.
You can check out the video.
Features
- Car sharing zones with a center, size and spawn points; the default config includes zones near the hospital, at the beach, the airport, Sandy Shores and Paleto Bay.
- Vehicles spawn in a zone after a set time (20 seconds by default).
- Unlock fee (200 by default) and unlock key (
Gby default). - Per-minute price while driving.
- Penalty for leaving a vehicle outside a zone, or optional deletion of badly parked vehicles.
- Damage penalty with a configurable damage threshold.
- Custom plate text for sharing vehicles (
SHARINGby default). - Optional license check (
dmvby default) and configurable map blips. - The code is commented.
Requirements
- ESX
- esx_license (optional, for the license check)
Installation
- Copy
core_carsharinginto yourresourcesfolder. - Set zones, prices and penalties in
config.lua, and change the plate text to fewer than 8 characters. - Add
ensure core_carsharingto your server config.
No SQL file is needed.