Speed Manager
The Speed Manager Script for FiveM is the one-stop solution for managing speed limits via in game, this script works seamlessly with OxLib menus and uses Ace Permissions!

Chat
GTA
Config = {}
---------------------------------------------------------------------------------------------
-- Speed Limit Options
---------------------------------------------------------------------------------------------
Config.UseGlobalSpeedLimit = true -- Enable/Disable Global Speed Limit
Config.UseSpeedLimitByClass = false -- Enable/Disable Class-Based Speed Limits
---------------------------------------------------------------------------------------------
-- Function to convert M/S to MPH | DO NOT TOUCH/EDIT
---------------------------------------------------------------------------------------------
local function ConvertMPHtoMS(mph)
return mph * 0.44704
end
---------------------------------------------------------------------------------------------
-- Global Speed Limit Options | Ignored if using Class Speed Limits
---------------------------------------------------------------------------------------------
Config.GlobalMaxSpeedLimitAceBypass = "adspeed.bypass" -- Will Go To the Global Max Speed Limit
Config.GlobalMaxSpeedLimitAceOverride ="adspeed.override" -- Will Be Unlimited Speed
Config.GlobalMaxSpeedLimit = ConvertMPHtoMS(180)
Config.GlobalAircraftSpeedLimit = ConvertMPHtoMS(350)
Config.GlobalMaxSpeedLimitBypass = ConvertMPHtoMS(250)
---------------------------------------------------------------------------------------------
-- Class Speed Limit Options | Ignored if using Global Speed Limit
---------------------------------------------------------------------------------------------
Config.ClassSpeedLimits = {
["compacts"] = ConvertMPHtoMS(180),
["sedans"] = ConvertMPHtoMS(180),
["suvs"] = ConvertMPHtoMS(180),
["coupes"] = ConvertMPHtoMS(180),
["muscle"] = ConvertMPHtoMS(180),
["sportsclassics"] = ConvertMPHtoMS(180),
["sports"] = ConvertMPHtoMS(180),
["super"] = ConvertMPHtoMS(180),
["motorcycles"] = ConvertMPHtoMS(180),
["offroad"] = ConvertMPHtoMS(180),
["industrial"] = ConvertMPHtoMS(180),
["utility"] = ConvertMPHtoMS(180),
["vans"] = ConvertMPHtoMS(180),
["cycles"] = ConvertMPHtoMS(180),
["boats"] = ConvertMPHtoMS(180),
["helicopters"] = ConvertMPHtoMS(180),
["planes"] = ConvertMPHtoMS(180),
["service"] = ConvertMPHtoMS(180),
["emergency"] = ConvertMPHtoMS(180),
["military"] = ConvertMPHtoMS(180),
["commercial"] = ConvertMPHtoMS(180),
["trains"] = ConvertMPHtoMS(180),
["openwheel"] = ConvertMPHtoMS(180),
}
---------------------------------------------------------------------------------------------
-- Developer Options
---------------------------------------------------------------------------------------------
Config.Debug = false
Last updated