Custom Car

Custom Car

€14.00

Add to Basket

Explanation

This is a car customization script, LsCustom type, an interactive and easy-to-use script with a nice designer.

Features

  • To open vehicle customization, just go to the defined location and press E to customize
  • To close vehicle customization, just press backspace or delete
  • If you close the interface or exit blip without saving the customization, your vehicle will be reset
  • In the interface it shows the name and license plate of the vehicle you are customizing, to avoid errors
  • You can activate the camera and move it however you want, to better visualize the customization
  • Selection of colors in RGB and color palette to define some vehicle colors
  • The interface identifies and shows what customizations you can make to the vehicle
  • You can open doors, hood and trunk
  • Define if the customizations are free or with a specific amount and this is calculated in the interface, showing the amount that will be charged.
  • You can simply customize a random vehicle and it will not be saved in the database
  • You can customize personal vehicles and if it is properly registered in the database, the customization will be saved.
  • Customization sites can be accessed or not.
  • You can customize being inside the vehicle or outside, you choose.
  • Ideal for Roleplay servers.

Video 1 (Youtube)

Video 2 (Youtube)


Notifications

  • When you don't have the money to customize

3deee46370ee572335630eaf30c55cf41472d4a0.png


  • When the vehicle is not registered in the database, but it has been customized

aad866a5607194a1651d0909a0191f8e72d7d435.png


  • Customized vehicle and saved in the database

f2d08951d26da8041aa7479fd602028831d67049.png


Configuration

  • In Config.lua, you can translate any text in the interface any way you want.
  • In Moon Setup you can change the scale, position, opacity and you can adjust it as you wish.
  • To create customcar locations is very simple, just access Config.lua and define in custom_car_blips.
  • In Config.lua, you can set the prices of all customizations or set all customizations with FREE


ESX Version

  • The script in the esx version updates the **'owned_vehicles'** table, so if you use esx, you need to have the vehicle registered to save the customization


STANDALONE Version

  • In the standalone version, it is necessary to add its own functions, for example, take the money the player has, cash the money, add permission, it is necessary that you make these edits, if you have any doubts, you can contact me.


Events

  • The script has two events, which you need to use to apply the customization to the vehicles
  • More attention, in the ESX version, it may not be necessary to use these events, depending on the vehicle script you use.


When generating a vehicle that has a saved customization, it is necessary to call this event to apply the customization to the generated vehicle

  • TriggerServerEvent("Mx :: GetCustomCar", VEHICLE_ID, VEHICLE_PLATE)


If necessary, when buying a vehicle at the dealership, or any script you use to create a vehicle, it is necessary to call this event to register the license plate of the vehicle in question. 

  • TriggerServerEvent("Mx :: InsertCustom", VEHICLE_PLATE, VEHICLE_MODS)


Attention

  • All tests were done on PlumeESX by tabarra, and technically older versions of esx should work, otherwise you can contact me.


Dependencies

  • mysql-async


  • In the standalone version the table is created automatically (customcar)
  • In ESX version the table used is 'owned_vehicles'.


This script has no IP protection or encryption.