Simple, modern and easy to configure Vehicle Restrictions
ox_lib - Download the latest Release
- Download and install ox_lib (place
start ox_libnear the top of your server.cfg)
-
Download the Latest Release:
- Head to the releases tab.
- Click on the latest release and download
vehicle-restrictions.zip.
-
Add to Your Resources:
- Extract the contents of the zip file.
- Drag the
vehicle-restrictionsfolder into your FiveM resources directory.
-
Configure the Script:
-
Open the
config.luafile inside theconfigfolder. -
The config contains the main settings to the script. Individual vehicle restrictions are in a seperate file.
-
To find the vehicle configuration open the
vehicles.luafile inside of theconfigfolder. -
The vehicles configuration is fully documented on how to set up.
-
-
Ensure the Resource:
- Add
start vehicle-restrictionsto yourserver.cfg(or your respective cfg for ensuring resources) file. - Above this ensure that
ox_libis started BEFOREvehicle-restrictions, otherwise the resource will not work.
- Add
-
Restart Your Server:
- Restart your FiveM server to apply the changes.
For support, questions, or suggestions, join our discord