mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
14fbc69357
- Fixed selling same vehicle multiple times - Fixed selling <no> vehicle - Major security improvements - Removed buying vehicle for society - Code cleanup - Fixed depopping vehicle not working (not respecting network owner)
60 lines
2.0 KiB
Markdown
60 lines
2.0 KiB
Markdown
# esx_vehicleshop
|
|
|
|
ESX Vehicle Shop adds an vehicle shop to the game, where employeed players can sell vehicles to other players. You can also disable the job part so any player can buy vehicles with a menu based interaction.
|
|
|
|
## Requirements
|
|
|
|
* Auto mode (everyone can buy vehicles from the dealer)
|
|
* No need to download other resources
|
|
|
|
* Player management (the car dealer job): billing, boss actions and more!
|
|
* [esx_society](https://github.com/ESX-Org/esx_society)
|
|
* [esx_billing](https://github.com/ESX-Org/esx_billing)
|
|
* [esx_addonaccount](https://github.com/ESX-Org/esx_addonaccount)
|
|
* [esx_addoninventory](https://github.com/ESX-Org/esx_addoninventory)
|
|
* [cron](https://github.com/ESX-Org/cron)
|
|
|
|
## Download & Installation
|
|
|
|
### Using [fvm](https://github.com/qlaffont/fvm-installer)
|
|
|
|
```
|
|
fvm install --save --folder=esx esx-org/esx_vehicleshop
|
|
```
|
|
|
|
### Using Git
|
|
|
|
```
|
|
cd resources
|
|
git clone https://github.com/ESX-Org/esx_vehicleshop [esx]/esx_vehicleshop
|
|
```
|
|
|
|
### Manually
|
|
|
|
- Download https://github.com/ESX-Org/esx_vehicleshop/archive/master.zip
|
|
- Put it in the `[esx]` directory
|
|
|
|
### Installation
|
|
|
|
- Import `esx_vehicleshop.sql` in your database
|
|
- Add this in your `server.cfg`:
|
|
|
|
```
|
|
start esx_vehicleshop
|
|
```
|
|
- If you want player management you have to set `Config.EnablePlayerManagement` to `true` in `config.lua`
|
|
|
|
## Legal
|
|
|
|
### License
|
|
|
|
esx_vehicleshop - vehicle shop for ESX
|
|
|
|
Copyright (C) 2015-2020 Jérémie N'gadi
|
|
|
|
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
|
|
|
This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
|
|
|
|
You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
|