Citizen Identification Card System
[Paid Resource]
A Real-Time Citizen Identification Card System
Code is accessible
Yes
Subscription-based
No
Lines (approximately)
790
Requirements
None
Support
Yes
I saw other ID Cards being released and decided to release the one I have written for the server I work on. This script is influenced from [Release] jsfour-idcard [ESX]. I created the images from scratch using actual California Identification Cards. This has been written to be used on Stand Alone platforms currently, but I also coded ESX, and QBCore to be used instead with ease.
Place the resource files in your server’s resources folder!
Place ‘ensure OSheaIDCard’ in server.cfg
The Code is heavily commented to assist developers in understanding how I created this.
There is a very detailed README included on how to use the ESX or QBCore version instead. They are all coded into this one version!
Script Features
Custom Made Cards from Real California ID’s
ID Card will show to a Nearby player, or yourself if no one is close enough.
Distance works with Officer standing at Car door and players in vehicle.(Goes to Officer from Driver)
ID Cards will appear correctly on any size resolution (4K Compatible)
All Card Information Is Customizable (First Name, Last Name, Date of Birth, Sex, Height)
If using ESX, or QBCore will pull information from Database.
Can Choose Between 3 Different Identification Cards (ID, Driver License, Weapon License)
Uses In Game Mugshot To Provide Character Image Real Time
Can be used Standalone, ESX, or QBCore! All code included in this version!
Cards can be edited and reuploaded for a custom experience or create your own card
Script is NOT encoded or encrypted in any way so your devs can customize and edit.
How To Use Script
You Can Setup Buttons to Call the script directly instead of using the /commands.
/setid FirstName LastName D/O/B Sex(M/F) Height (Will save these Settings until you reuse this command or log-out) Standalone only.
/showid (Will show ID to nearest Player, If no one is close will show it to you.)
/showlic (Will show License to nearest Player, If no one is close will show it to you.)
/showwep (Will show Weapon License to nearest Player, If no one is close will show it to you.)
While this script seems cool, you are basically selling someone else’s code, with a rework? Don’t really know if that should be allowed… especially without his written consent
As I said I reworked it but its not a copy of his code by any means. I used his code as a reference guide. His Client.lua is 25 lines mine is 174. His server.lua is 45lines. Mine is 68. etc…
We have some scripts that cause problems when OneSync is enabled, like Cuffs, Drag or Radio (because the player position data is different). That’s why I’m asking.
Is it possible to get the ID cards with San Andreas on them instead of California? Our server uses Missouri for our Penal Code and such so having Californian IDs doesn’t really fit.
Yes, I will work on that today and push a new update. I will let you know when it is finished. It will have alternate image files in case you do not want to use California.
How do you make it go away when you are done looking at someones license? NVM, we figured out backspace will clear it.
A couple other questions. Can we have it prompt when you do /setid so it has the suggestion of what to put and also, when completing the command to set, can it display a confirmation of what you just set in chat for the person who set it to see.
Yes, I will edit those options both in tomorrow. I will have them and the renewed images at that time. I will message you when the file has been updated. Thank you for you suggestions!
I have added them both already. I will push the update tomorrow once I finalize the new images. If you want to add it in to use before tomorrow the code is