Files
Elite-Gaming-FiveM/resources/MAXINGspeedlimiter/config.lua
T

58 lines
1.4 KiB
Lua

Config = {}
-- Set Config.kmh to false if you want to use mph
Config.kmh = false
-- Set Config.maxSpeed to false if you want to use same speed for all vehicles
-- Set the max speed for all vehicles on Config.maxSpeed
Config.useCategories = true
Config.maxSpeed = 190
Config.Categories = {
-- COMPACTS
{category = 0, maxSpeed = 195},
-- SEDANS
{category = 1, maxSpeed = 195},
-- SUV'S
{category = 2, maxSpeed = 195},
-- COUPES
{category = 3, maxSpeed = 195},
-- MUSCLE
{category = 4, maxSpeed = 195},
-- SPORT CLASSIC
{category = 5, maxSpeed = 130},
-- SPORT
{category = 6, maxSpeed = 195},
-- SUPER
{category = 7, maxSpeed = 195},
-- MOTORCYCLES
{category = 8, maxSpeed = 136},
-- OFFROAD
{category = 9, maxSpeed = 186},
-- INDUSTRIAL
{category = 10, maxSpeed = 187},
-- UTILITY
{category = 11, maxSpeed = 176},
-- VANS
{category = 12, maxSpeed = 189},
-- BICYCLES
{category = 13, maxSpeed = 110},
-- BOATS
{category = 14, maxSpeed = 84},
--#region PLANES AND HELIS
-- YOU MUST NOT LOCK THIS ONES OR YOU WON'T BE ABLE TO FLY THEM!!!
{category = 15, maxSpeed = nil},
{category = 16, maxSpeed = nil},
--#endregion
-- SERVICE
{category = 17, maxSpeed = 180},
-- EMERGENCY
{category = 18, maxSpeed = 580},
-- MILITARY
{category = 19, maxSpeed = 369}
}
-- DO NOT MODIFY
Config.kmhValue = 3.6
Config.mphValue = 2.23694