# 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!

***

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FG7Ppyqch4zt8DljqHQgy%2Fimage.png?alt=media&#x26;token=8f310974-d6cb-4b38-9f82-09a8efba2c27" alt=""><figcaption></figcaption></figure>

1. [VeniceNotify](https://forum.cfx.re/t/codem-advancednotifysystem/4812202)
2. [OkOkNotify](https://forum.cfx.re/t/okoknotify-standalone-paid/3907758)
3. [Ox\_lib](https://github.com/overextended/ox_lib)
4. Chat
5. GTA

***

```lua
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
```

{% hint style="success" %}
Downloads

\[FREE] [Free Version](https://arcticdevelopment.tebex.io/package/6646744)

\[PAID] [Open Source Version](https://arcticdevelopment.tebex.io/package/6954286)
{% endhint %}
