Installation
Installation
Download quito-driverslicense
Extract the script into the
resourcesfolder in your serverImport
db.sqlinto your databaseMake sure the folder is called
quito-driverslicense, or it will cause issuesAdd
ensure quito-driverslicenseorstart quito-driverslicensein your server.cfgRestart your server
Refer to below examples for the choice you make whether using the item or metadata.
When you are using metadata Config.useItem = false, make sure to disable giving the drivers license in qb-core/server/player.lua

When setting Config.useItem = true, make sure to set the correct item in Config.driver_license and edit the starteritems so that new characters do not receive the drivers license upon character creation.
Below example is for qb-core/shared/main.lua:

Last updated