[QBCore] [QBox] Vehicle Speed Limiter (Limit Speeds By Category)

A script by GoatsWorld

No reviews yet.
[QBCore] [QBox] Vehicle Speed Limiter (Limit Speeds By Category) main image

Price

Unknown

Full Description

DOCUMENTATION

PURCASE VIA TEBEX

This isn’t your ordinary speed limiter script. I’ve tried a lot of them and none of them works like I wanted. So here ya go! One that actually works seamlessly with QBCore & QBox.

You DO NOT have to program each vehicle… After all isn’t that what this is suppose to prevent? YEP! Add your vehicles inside shared/vehicles.lua. Be sure to set the category as your custom class name (or use default gta classes). Then use that same category name inside our script to limit the top speed.

Features

  • Supports QBCore & QBox
  • Prevents vehicles from going too fast without having to edit the vehicles handling file
  • Auto detects vehicles from inside the /shared/vehicles.lua file
  • Supports default and custom classes
  • MPH or KMH
  • Drag & drop ready
  • Very easy to use config

Config File Preview

cfg = {} -- dont touch this
--[[
  ________              __      _________            .__        __          
 /  _____/  _________ _/  |_   /   _____/ ___________|__|______/  |_  ______
/   \  ___ /  _ \__  \\   __\  \_____  \_/ ___\_  __ \  \____ \   __\/  ___/
\    \_\  (  <_> ) __ \|  |    /        \  \___|  | \/  |  |_> >  |  \___ \ 
 \______  /\____(____  /__|   /_______  /\___  >__|  |__|   __/|__| /____  >
        \/           \/               \/     \/         |__|             \/ 
       
]]

cfg.mph = true -- false for kmh


cfg.category = { -- category names can be found inside qbcore/shared/vehicles.lua
  
  -- default qbcore vehicle categories
  ['compacts'] = 115,
  ['sedans'] = 115,
  ['suvs'] = 110,
  ['coupes'] = 115,
  ['muscle'] = 115,
  ['sportsclassics'] = 110,
  ['sport'] = 120,
  ['super'] = 130,
  ['motorcycles'] = 110,
  ['offroad'] = 100,
  ['industrial'] = 100,
  ['utility'] = 100,
  ['vans'] = 100,
  ['cycles'] = 100,
  ['boats'] = 170,
  ['helicopters'] = 90,
  ['planes'] = 170,
  ['service'] = 100,
  ['emergency'] = 135,
  ['military'] = 100,
  ['commercial'] = 100,
  ['openwheel'] = 100,

  -- add custom categories here
  -- be sure to add the same category name to the vehicle inside qbcore/shared/vehicles.lua
  ['blackdiamonds'] = 200
}
Code is accessible Config only
Subscription-based No
Lines (approximately) 300+
Requirements QBCore
Support Yes

Config Merger
Have you tried Config Merger? Merge your configs easily