#Adding for Licenses for Vehicle Operation
1 messages · Page 1 of 1 (latest)
is this what you mean?
thats what i found with licenses in qb, idk if license are an item or not, but if they are, youll need to add it as an item as well
@craggy holly it looks like licenses are indeed items, so you will need to add it as items as well, take a look in the link here and youll see how and where
with that, youll have everything you need 🙂
@winter mica I dont use qb-cityhall for that. I use cs_identification
Do I just need to add them as items then?
well then clearly its in that script lol
yes.
i assume so
idk how cs_identification is built
@craggy holly https://forum.cfx.re/t/advanced-job-badge-id-card-expiry-feature-create-unlimited-ids-qb-esx/4999899
Introducing the Advanced ID Card Script for FiveM, the most feature-rich and advanced solution for managing job/businesses and player ID cards in your server. It includes customizable id cards, advanced management menus, and easy access to all features. Upgrade your server experience with the Advanced ID Card Script Interface Examp...
this?
if you show me the config of that one i can tell you if youve done it correct
or if its even in the config at all
or perhaps you know how to lol
enableBuy = true,
text = 'Commercial Driver\'s License (CDL)',
price = 1000,
expireCard = 365,
licenseCheck = 'cdl', -- License type check
customizeUI = {
cardTitle = 'San Andreas',
cardLogo = 'image/cdl_logo.png',
cardFooter = 'Driving Professionally',
cardColor = {
primary = '#8E44AD',
secondary = '#9B59B6'
},
textColor = {
primary = '#FFFFFF',
secondary = '#34495E'
},
}
},
['pilot_license'] = { -- Pilot License
enableBuy = true,
text = 'Pilot License',
price = 2000,
expireCard = 180,
licenseCheck = 'pilot', -- License type check
customizeUI = {
cardTitle = 'San Andreas Aviation',
cardLogo = 'image/pilot_logo.png',
cardFooter = 'Sky’s the Limit',
cardColor = {
primary = '#1ABC9C',
secondary = '#16A085'
},
textColor = {
primary = '#FFFFFF',
secondary = '#2C3E50'
},
}
}, ```
Would I add the licenseCheck thing to the license list in qbcore/config.lua?
Here
Yup they are items
its been years since i messed with qbcore lol, but it looks like youve done it correct then
lemme know how it works
@craggy holly i assume it works?
It works
Great, enjoy
If everything is good can you mark the thread as resolved please
I used CS identification awhile ago. You still have to add the license in QB, otherwise it's just a card item you're creating with cs_identification, with a fancy picture. That's really all the script does is give you a way to take a picture and put it on the card, uses QB info for the information it displays on the card. I have this guy blocked though so not sure if he can even see this.. 🤷🏼