Wizard Mileage version 1.2.0 released!

Basic Configurations

1. Framework

This option is used to choose your framework for the script, current options are:

Config value
Information
Framework = 'none',

This one is useful for servers without frameworks or with un-supported frameworks:)

Framework = 'Esx',

Useful for servers with es-extended or ESX Legacy framework!

Framework = 'QBCore',

Useful for servers with QBCore or QBox framework!


2. CustomPlate, Plate

This options is used to change the vehicle's plate to a random plate or configured plate.

Config value
Information
CustomPlate = true,
Plate = 'CW-SHOW',

With this configuration, the vehicles spawn with custom plate number, the plate will be 'CW-SHOW'

CustomPlate = false,
Plate = '',

With this configuration, the vehicles spawn with random plate numbers based on plate number management script or default GTA-V plate number functions


3. LockVehicles

With this option, you can do many things about showroom vehicles door stats!

Config value
Information
LockVehicles = 'NoInteract',

With this configuration, the vehicle doors will be locked and players can't interact with vehicles using F key

LockVehicles = 'Unlocked',

With this configuration, the vehicle doors will be unlocked and players can sit in vehicles using F key

LockVehicles = 'Locked',

With this configuration, the vehicle doors will be locked and players can't sit in vehicles but they can interact using F key


4. FuelSystem, FuelLevel

With this options, you can modify the fuel management system!

Config value
Information
FuelSystem = 'none',
FuelLevel = '0',

With this configuration, the script will use the built-in fuel management system and set the vehicle fuels to 0, useful to prevent vehicles from starting if vehicle doors are unlocked!

FuelSystem = 'LegacyFuel',
FuelLevel = '50',

With this configuration, the script will use LegacyFuel to set the fuel level of the vehicles to 50


5. Freeze

With this options, you can freeze the vehicles at the spawn point locations to prevent them from moving!

Config value
Information
Freeze = true,

With this configuration, we will freeze the vehicles at the spawn point and nothing can move them from there. useful for when you want to allow players to sit in vehicles, start the engine and rev it to hear the engine sound as well!

Freeze = false,

With this configuration, we will not freeze the vehicles, so the vehicles can be moved by other vehicles or etc.


6. Refresh, RefreshUnit

With this options, you can refresh the vehicles every x unit to make the vehicles cleaner, replace them if they are destroyed, or even set them on ground properly if they're not!

Config value
Information
Refresh = 5,
RefreshUnit = 'Min',

With this configuration, we will refresh the vehicles for the players every 5 Minutes

Refresh = 15,
RefreshUnit = 'Sec',

With this configuration, we will refresh the vehicles for the players every 15 Seconds


7. EnableTargetOptions

With this options, you can enable the targetting script to allow players to interact with vehicles and check the vehicle info, open doors and check vehicle stats

For the vehicle information, you need to choose the speed unit on the following code

SpeedUnit = 'kmh', -- Available Options = 'mph' or 'kmh'
Config value
Information
EnableTargetOptions = true,

With this configuration, players can interact with vehicles using ox_target script

EnableHood = true,

With this configuration, players will see the 'Open Hood' option on the targetting script

EnableTrunk = true,

With this configuration, players will see the 'Open Trunk' option on the targetting script

EnableDoors = true,

With this configuration, players will see the 'Open Doors' option on the targetting script

EnableVehInfo = true,

With this configuration, players will see the 'Vehicle Info' option on the targetting script

EnableVehStat = true,

With this configuration, players will see the 'Vehicle Stats' option on the targetting script

Last updated