İDCARD
ES-IDCARD is a comprehensive identity card system for FiveM QBCore and ESX servers. It allows players to view, share, and create various types of identification cards including ID cards, driver's lice
Dependencies
ox_lib
loaf_headshot_base64
Installation
Download the resource
Place it in your server's resources folder
Ensure dependencies are installed (
ox_lib
andloaf_headshot_base64
)Add the following to your server.cfg:
Items Setup
Add the following items to your server's shared items file:
For QBCore (qb-core/shared/items.lua
):
For ESX, add similar items to your ESX items database or configuration.
Configuration Files
You can modify the script settings in shared/cfg.lua
:
Card types and their appearances
Location coordinates for ID card creation
Prices for licenses
Animation settings
And more
For Discord avatar integration, set your Discord bot token in shared/server_config.lua
:
Usage
For Players
Viewing ID Cards: Use your ID card from inventory to display it
Sharing ID Cards: When displaying your card, nearby players will automatically see it
Creating ID Cards: Visit the City Hall location to purchase new ID cards
Creating Fake ID Cards: Visit the fake ID card location to create fake identity cards
For Developers
The script provides several exports for integration with other resources:
Customizing Card Types
You can add new card types or modify existing ones in shared/cfg.lua
:
Last updated