⚙️Vehicle Info Config

Integrated vehicle types and pricing for stock vehicles.


Example

adder = {
    price = 86065,
    type = "automobile"
}

To begin, we generate a table using the vehicle's spawn name, such as "adder." It's essential not to convert it to a string, but rather follow the provided example. Subsequently, we set the initial purchase price for the vehicle and specify its vehicle type.

You can set the type to anything you want, even custom nametags. It is used throughout other configs (garages, impound, insurance).

The pricing is only used by the insurance fee. If you have it set to a flat fee you do not need to worry about this value.

In our base configuration the insurance system will calculate the respawn pricing to be: 860650.05=4303.2586065 * 0.05 = 4303.25

Last updated

Was this helpful?