Documentation Index
Fetch the complete documentation index at: https://docs.revoscripts.com/llms.txt
Use this file to discover all available pages before exploring further.
If you are updating to v1.2 from an older version, you must update your inventory item image names to prevent missing-image issues and inventory errors.id_card -> revo_design_1.png
driver_license -> revo_design_2.png
firearm_license -> revo_design_3.png
After updating the image names in your inventory items file, place the new images from the items-images folder into your inventory image folder.
Download Revo ID Card
Visit the FiveM Keymaster and download the latest version of Revo ID Card. Save the script to your computer. Add to Resources
Place the downloaded revo_idcard folder inside your server’s resources directory.
Configure server.cfg
Add the following line to your server.cfg to ensure Revo ID Card starts with your server: Add Items to Your Inventory System
Revo ID Card supports the following inventory systems. Choose the one you’re using and follow the corresponding instructions:Open your ox_inventory/data/items.lua file and add the following items:['id_card'] = {
label = 'ID Card',
weight = 1,
stack = false,
close = true,
description = "Your personal identification card.",
client = {
image = 'revo_design_1.png',
}
},
['driver_license'] = {
label = 'Driver License',
weight = 1,
stack = false,
close = true,
description = "Your driver's license.",
client = {
image = 'revo_design_2.png',
}
},
['firearm_license'] = {
label = 'Firearm License',
weight = 1,
stack = false,
close = true,
description = "Your weapon's license.",
client = {
image = 'revo_design_3.png',
}
},
Add images (from items-images folder of revo_idcard) to: ox_inventory/web/images/
- revo_design_1.png
- revo_design_2.png
- revo_design_3.png
Open your qb-core/shared/items.lua file and add the following items. If your server uses a custom QB/Quasar item file, update that file instead:['id_card'] = {
['name'] = 'id_card',
['label'] = 'ID Card',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_1.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your personal identification card.'
},
['driver_license'] = {
['name'] = 'driver_license',
['label'] = 'Driver License',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_2.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your driver'
},
['firearm_license'] = {
['name'] = 'firearm_license',
['label'] = 'Firearm License',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_3.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your weapon'
},
Add images (from items-images folder of revo_idcard) to: qb-inventory/html/images/
- revo_design_1.png
- revo_design_2.png
- revo_design_3.png
For ESX servers, add the following items to your Quasar items file such as qs-inventory/shared/items.lua.For QBCore servers, add the same items to qb-core/shared/items.lua or the relevant items file used by your Quasar setup.['id_card'] = {
['name'] = 'id_card',
['label'] = 'ID Card',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_1.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your personal identification card.'
},
['driver_license'] = {
['name'] = 'driver_license',
['label'] = 'Driver License',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_2.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your driver'
},
['firearm_license'] = {
['name'] = 'firearm_license',
['label'] = 'Firearm License',
['weight'] = 1,
['type'] = 'item',
['image'] = 'revo_design_3.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Your weapon'
},
Place the new images from the items-images folder of revo_idcard into the image folder used by your Quasar inventory build.
- revo_design_1.png
- revo_design_2.png
- revo_design_3.png
Start the Resource
After adding or updating the items and images, restart your inventory resource (ox_inventory, qb-inventory, qs-inventory, or qs-advancedinventory) to load the new items.Then restart your server or run these commands in the server console:refresh
ensure revo_idcard
Revo ID Card is fully configurable and optimized for performance. You can customize NPCs, card visuals, card designs, validation behavior, and prices in the config.lua file.