Configuration Files
1. Adjust config.lua to your server core
Adjusting the script to your server core
Adjusting the PlayerLoaded trigger from server core to the script
Adjusting the PlayerLogoutServer trigger from server core to the script
Adjusting the PlayerSetJob trigger from server core to the script
Adjust the Menu to your menu script
2. Adjust config.lua to server preferences
Several options are available for interacting with the point
LoadPricesFromDatabase: You can load vehicle prices from the database to automate the configuration process, but make sure that your database match to the function SV.getPricesFromDatabase in config.server.lua
LiveriesUseCustomNames: When using this option, it will search if a name other than NULL exists, if found, it will display the custom name, otherwise, it will set 'Livery ID' as before.
RemoveGunsTuningMods: Do you want tuning parts that add weapons to the vehicle to be automatically detected and removed from the purchase option
DefaultVehiclePrice: Default price if the vehicle is not defined in Config.Vehicles (config.vehicles.lua)
UseDiscountCodes: Do you want it to be possible to use the discount code for tuning
DiscountCodeLength: from how many characters the code will be generated
EnableDiscountsForWorkshops: This allows in the boss-menu to create discount codes for the heads of tuning workshops
DiscountCodesPercentages: Percentages available to generate codes in boss menu for player
DiscountCodesUsablesCount: Number of coupons available to generate codes in player's boss menu
AdminDiscountCodesCommand: Commands for administrators to generate and delete discount codes
UseBuildInCompanyBalance: If you don't want to use the balance built into the Management Menu, set this to false and configure config.server.lua to be compatible with your server, for example a script for banks that may have company accounts
BillMoneyToSocietyPercent: Do you want the company to receive a % from paid billing of tuning a vehicle?
BillMoneyToTunerPercent: Do you want the tuner to receive a % from paid billing of tuning a vehicle?
AddSocietyMoneyForTuningPercent: Do you want the company to receive a % from price of tuning a vehicle?
UseTuningPoints: Do you want to use the points provided by the vms_tuning resource, if you want to use export with another resource set false
Prepare tuning points accordingly
3. Adjust config.installationparts.lua to your server preferences
UseHelpUI: For advanced part installation which can prompt the player what they need to do now
DisableAbilityToRunWithParts: Is the player to be blocked from running with parts in hand?
UseManualPartInstallation: Do you want the player to have to manually install each part separately to give the tuning process realism
UseTargetForPartInstallation: Do you want to use target system for part installation
TeleportToVehicleAfterInstallForMS: Is the player to be teleported to the vehicle for a millisecond, it will not be practically visible and the newly installed part in each player will synchronize
TeleportToVehicleAfterFullInstallation: Is the mechanic to be transported to the vehicle after the installation of all parts is completed so that all Vehicle Properties are loaded
InstallationPartsPoints: Points for workshops to find purchased parts for the installation
Use advanced installation
Last updated
Was this helpful?