ESX Vehicle Shop adds an vehicle shop to the game, any player can buy vehicles and sell vehicles with a menu based interaction.
- Copy esx_vehicleshop to your FXServer resource folder
- Run the esx_vehicleshop.sql file in your FXServer database
- Add start esx_vehicleshop to your sever.cfg file
- Start your server or resource
vehicleshop_categories
, vehicleshop_vehicles
and owned_vehicles
if not exists
esx_vehicleshop also has integrated commands. This makes it possible to modify the vehicle without restarting the script. It also checks if the specified vehicle actually exists before adding or editing it.
Command | Option | Example Command |
---|---|---|
/shopcategory |
add |
/shopcategory add sports Sports |
/shopcategory |
update |
/shopcategory update sports Super-Sports |
/shopcategory |
remove |
/shopcategory remove sports |
/shopvehicle |
add |
/shopvehicle add adder 750000 sports |
/shopvehicle |
update |
/shopvehicle update adder 850000 sports |
/shopvehicle |
remove |
/shopvehicle remove adder |
MIT License
Copyright (c) 2020 Thymon Arens (TigoDevelopment)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This resource was created by me with all the knowledge at the time of writing. The request for new functionality is allowed but it does not mean that it will be released. Further development of this resource is permitted.