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.
Configuration is done in the
config.lua file located in the revo_idcard directory.Theme
- Use
'dark'for the default dark interface - Use
'light'if you want a brighter menu style
Notification Position
'top-left''top-right''top-center''bottom-left''bottom-right''bottom-center''center-left''center-right''center-center'
Fake ID System
true: players can access the fake ID systemfalse: fake ID creation is disabled
Real ID NPC Settings
Config.Real_ID_NPC_Model: the ped model used for the real ID NPCConfig.Real_ID_NPC_Locations: every location where that NPC will spawn
x: X coordinatey: Y coordinatez: Z coordinateheading: direction the NPC faces
Fake ID NPC Settings
Config.Fake_ID_NPC_Model: the ped model used for fake ID creationConfig.Fake_ID_NPC_Locations: every location where the fake ID NPC will appear
Real ID Map Icon
Config.ShowRealIDMapIcon: shows or hides the blipsprite: the blip icon IDscale: the size of the blipcolor: the blip color IDname: the text shown on the map
Fake ID Map Icon
Config.ShowFakeIDMapIcon: shows or hides the fake ID blipsprite: the blip icon IDscale: the blip sizecolor: the blip color IDname: the label shown on the map
false so fake ID dealers are discovered in character rather than publicly marked.
Card Costs
true: players pay the configured costfalse: cards are issued without charging
Config.Cards.
Date Display
Config.ShowIssueAndExpireDate: shows issue and expiration dates on the cardConfig.ExpireDuration: number of days before the card expires
Card Display Duration
4500means the card stays visible for 4.5 seconds
Validation Settings
Config.ValidationCommand: the command players use to validate a cardConfig.ValidationCommandDistance: how close the target must beConfig.ValidationAllowedJobs: which jobs can use the validation command
police = trueallows police to use/idcheck- any job not listed or not set to
truecannot use the command
Fake ID Cooldown
- Value is in seconds
60means one fake ID request per minute
Card Identity Defaults
Config.StateNameOnCard: the state or region name printed on the cardConfig.DefaultNationality: the default nationality value used by the script
Card View Distance
- Lower values make card sharing feel more private
- Higher values make it easier for nearby players to read the card
Card Colors
- Each key should match a job name used on your server
- Each value should be a hex color
defaultis used when no specific job color matches
Cards
Config.Cards defines which cards exist in the script and how each one behaves.
Each card entry uses a unique key such as id_card, driver_license, or any custom key you create.
Card Fields
name: display name shown to playersprop: the world prop used when the card is showndesign: which card layout to usecost: normal purchase pricefakeCost: fake ID price for card types that support fake issuanceenabled: whether the card can exist at allpurchasable: whether the card appears in purchase menus
Card Designs
design1: default ID card layoutdesign2: driver license layoutdesign3: weapon license layout
How To Create a New Card
To add a new card, you need more than just a new line inConfig.Cards. The full setup should look like this:
- Add a new entry inside
Config.Cards - Choose the display
name - Choose a
designthat fits the type of card - Set pricing with
costand optionalfakeCost - Set
enabled = true - Decide whether it should appear in menus with
purchasable = trueorfalse - Create a matching inventory item with the same item name/key
- Add the correct inventory image for that item
- Test the card using the purchase menu or export flow
Example Custom Card
hunting_licenseis the item key used by the script'Hunting License'is the label players seedesign2reuses the driver-license-style layoutcost = 75is the legal purchase price
Choosing enabled and purchasable
These two options are often confused:
enabled = true,purchasable = trueThe card exists and can be bought through the menuenabled = true,purchasable = falseThe card exists but is hidden from menu purchase and can still be created through scripts or exportsenabled = falseThe card is disabled entirely and will not be issued
purchasable = false for admin-only, job-only, or script-issued cards.
Inventory Setup For New Cards
Every custom card also needs a matching item in your inventory system. If you add this card in config:hunting_license but your inventory item uses a different name, the card will not work correctly.
Best Practices For Custom Cards
- Reuse
design1,design2, ordesign3based on the closest visual style - Keep item keys lowercase and simple
- Use
purchasable = falsefor hidden or restricted cards - Add the correct item image before testing
- If fake IDs are enabled, only use
fakeCoston cards where fake issuance makes sense for your roleplay
Common Mistakes
- Adding a card in
Config.Cardsbut forgetting the inventory item - Using a different inventory item name than the config key
- Leaving a card
enabled = falseand expecting it to work - Forgetting to copy the correct image into the inventory image folder
- Using a design that does not match the type of document you want players to see
Localization
'en''es''fr''de''it''pt''ru''pl''tr''zh''ar'