[Release] Mx Custom Car V2 Remake [PAID][Standalone][ESX/QBCore]

Explanation:

This is the second version of my car customization script ‘Mx Custom Car V2’.
Car customization script (LsCustom), interactive and easy to use with a cool designer.

Features

  • Full customization of vehicles.
  • New tires (GTA DLC).
  • Chameleon Colors.
  • Shopping cart list.

  • You can remove any parts that you no longer want.
  • When you remove the part, the customization is removed.
  • You can clear the entire cart and cancel customization.
  • You can select the payment method.
  • Payment: Bank.
  • Payment: Cash.
  • Payment: Society. (ESX only).
  • Stancer Wheels.

  • A new type of customization to make cars stylish, for those who enjoy this type of modification.
  • You can customize the wheels and suspension of the vehicle any way you want.
  • And create some different cars.
  • Menu Headlight and neon animations.

  • You can now create custom animations of headlights and neons.
  • Usable if the vehicle has the control installed.
  • It only works if the vehicle is on and someone is in the driver’s seat.
  • Default command: /controller. It can be changed in ‘config.lua’.
  • Menu to change the vehicle suspension.

  • Usable if the vehicle has the control installed.
  • You can change the vehicle’s suspension any way you want.
  • Default command: /suspension
  • Can be changed in ‘config.lua’.
  • Menu admin for easy script configuration.

  • Default command: /admincustomcar.
  • At first, the only initial configuration required is to define which framework you are using.
  • You can do the rest within the game.
  • The script has an in-game interface that helps you configure the script.
  • Admin menu to facilitate script configuration.
  • Creation of new blips and permissions.
  • Modification of existing blips and permissions.
  • You can change names, prices and discounts in the vehicle customization menu.
  • Translation of the main customization menu.
  • Translation of the script in general.
  • Easy script configuration via the menu.
  • Option to cancel all editing.
  • When saving, a separate configuration file is generated, the file ‘mxNewConfig.lua’ is created in the same location as ‘config.lua’.
  • It is necessary to open ‘mxNewConfig.lua’, copy and paste the configuration into the ‘config.lua’ file and restart the script.
  • When modifying the script configuration in the game, the ‘config.lua’ file loses the comments and becomes a bit messed up, but don’t worry, it’s backed up.

Chameleon Colors

Shopping cart list

Stancer

Headlight and neon animations

Menu to change the vehicle suspension

Admin menu (config.lua)

Database

  • Everything is created automatically.

Installation

  • Installing the script is very simple, just take the ‘mx_newcustomcar’ folder and place it in your resources folder and start at server.cfg if necessary.
  • Now we will have to make a simple modification to the framework.

ESX

  • Go to → ‘[core] > es_extended > client > functions.lua’
  • And search for the function → ‘ESX.Game.GetVehicleProperties(vehicle)’
  • And replace with:
function ESX.Game.GetVehicleProperties(vehicle)
   if DoesEntityExist(vehicle) then
      return exports.mx_newcustomcar:GetProperVehicle(vehicle)
   end
end
  • Then look for the function → ‘ESX.Game.SetVehicleProperties(vehicle, props)’
  • And replace with:
function ESX.Game.SetVehicleProperties(vehicle, props)
   if DoesEntityExist(vehicle) then
      exports.mx_newcustomcar:SetProperVehicle(vehicle, props)
   end
end

QBCore

  • Go to → ‘[qb] > qb-core > client > functions.lua’
  • And search for the function → ‘QBCore.Functions.GetVehicleProperties(vehicle)’
  • And replace with:
function QBCore.Functions.GetVehicleProperties(vehicle) 
   if DoesEntityExist(vehicle) then
       return exports.mx_newcustomcar:GetProperVehicle(vehicle)
   end
end
  • Then search for the function → ‘QBCore.Functions.SetVehicleProperties(vehicle, props)’
  • And replace with:
function QBCore.Functions.SetVehicleProperties(vehicle, props)
    if DoesEntityExist(vehicle) then
        exports.mx_newcustomcar:SetProperVehicle(vehicle, props)
    end
end

Server GameBuild

  • It is necessary to modify the Game build of your server to 2802 higher +
  • If you use TxAdmin, just go to Setting, FxServer and add
+set sv_enforceGameBuild 2802
  • Or directly in server.cfg
set sv_enforceGameBuild 2802
Some vehicles together

Remembering that, if you change the name of the script, you need to change the name in exports, otherwise there will be no problem

That’s it, everything should work correctly.

You can buy this script here: Tebex

The script is not encrypted or blocked by IP.

See our other scripts:
Mx Show Damage (new)
Mx Crafting V2 (new)
Body Damages V2 (new update)
Tattoos Shop and Degrade Hair
Mx Custom Car
Body Damages
Mx Keycodes
Mx Crafting
Fix Wiring [FREE]
Lockpick minigame [FREE]

Code is accessible Yes
Subscription-based No
Lines (approximately) 3700+ (Lua and VueJS)
Requirements Esx / QBCore / Standalone
Support Yes
2 Likes

hey sir, and for people who get the V1 before ? :slight_smile:

2 Likes

Everyone who purchased the V1 will have a 15% discount, contact me on the forum, in private messages.

1 Like

does it also work with addon cars?

1 Like

Yes, if the additional car has all settings at 100%, it must work, later I will post a video with addon cars

1 Like

Update

  • Correction: Depending on the number of registered players’ cars, the script did not load the information correctly on the clientside. It has now been corrected.
  • Removed: GlobalState is no longer used.

To use the new version, just download it again in your keymaster assets.

In framework.lua what zenites resource is this exporting to for the job?

elseif Config.framework == ‘Standalone’ then
ZnT = exports[‘zenites’]:GetObject()
end

1 Like

I ended up forgetting to remove it, in standalone you can do whatever you want, you can remove it and add your functions, custom framework. :sweat_smile: :sweat_smile: :sweat_smile:
This was part of my framework when I had a roleplay server and use it for testing nowadays.

In standalone, for everything to work correctly, you need to edit and add your server functions.

everytime i make changes to my extended changing the functions it just makes people crash idk what the deal is

This is strange, are you changing the name of the script?
If you are changing it, you need to change the name in export

no sir didnt change the name at all… tryin to get it to work also need to force my server build but something isnt liking that in my server so it makes people crash once i got up higher than 2545

Use game build 2802 or higher to use this script.
And the crash is not necessarily caused by my script.
As you are changing the game build, some other script is not working correctly with the game build, it is a possibility.

i got the game build to change now! fixin to test your script again sorry to be a bother! i am now on 2944 build so fingers crossed

yeah man everytime i change the functions in my es_extended it makes all my scripts have a error no idea why

everything works now but i just keep getting server thread hitch warning running your script

I’m glad it’s working.
‘Server thread hitch warning’ is strange
And I haven’t received any reports from those who have the script.
And in the various tests I did, with various vehicles spawned on the server, there was no such warning, so it’s strange.

man i have no idea ive tried it all and it just does it like every 5 seconds

1 Like

I sent you a private message here on the forum

Update 2.1

  • Removed an unnecessary thread that was executing unnecessary information, this should resolve the warnings ‘server thread hitch warning’
  • Removed lua file ‘sync.lua’
  • Removed some framework functions from standalone mode

Save your config.lua file, there is no need to update it.

To use the new version, just download it again in your keymaster assets, new version 2.1

Script seems to work flawlessly other than we have one issue, when customizing the Stancer and buying the parts it resets the suspension on any car, once you go back into it a second time it then saves and works fine and upon server restarts sometimes the vehicle stance gets deleted, but all other parts remain. Currently on build 2944 (qb) I’ve added the aforementioned server edits above. No errors. Not a huge deal just a bit annoying. Everyone is digging the script though. Brings huge diversity to my Car server.

1 Like