Identity

Step-by-step installation guide, common issues & solutions, code snippets, error codes, config previews, locales previews, SQL previews, and changelogs; all in 1 easily accessible place.

Buy Herearrow-up-right

FiveM Forums Postarrow-up-right

YouTube Showcase Videoarrow-up-right

This resource can be purchased as part of a bundle for a discount herearrow-up-right.

Translate

INSTALLATION GUIDE

Step 0 - First Steps

circle-exclamation

Step 1 - Fxmanifest

circle-exclamation

Step 2 - Configure Resource

circle-exclamation

Step 3 - SQL Database

circle-exclamation

INFORMATION

Chat Commands

These chat commands can be renamed and/or disabled in the Keys and Commandsarrow-up-right section of the [configs/config.lua].

The exact usage for each command will be displayed in the chat suggestions when using the commands in-game.

Command

Description

/idcard

If enabled, this will allow you to show your id card to the closest player by. If no players are nearby, you will see your own id card.

/idcard_outside

This will show your id card to the closest player who NOT in a vehicle (useful in traffic stops for when you want to show your id card to an officer outside your vehicle instead of your passenger).

/identitytest

(Test Command) This is a test command which opens the passport UI.

COMMON ISSUES

Please check out our Troubleshooting Guidearrow-up-right before contacting our support.

🔔 Folder Name Make sure the name of the folder is cd_identity.

🔔 Encrypted Files Do not edit the encrypted files in any way.

SQL Default Value?

eg., if you see an error similar to this example when inserting an SQL query into your database - “BLOB/TEXT column 'cd_identity' can't have a default value”.

SQL Unknown Column?

eg., if you see an SQL error in the server console similar to this example - ER_BAD_FIELD_ERROR: Unknown colum 'cd_identity' in 'where clause'.

ERROR CODES

If you see an error code not listed below, please open a script support ticket in the Codesign Discordarrow-up-right.

021454 - The server event (cd_identity:CacheIdentityData) which caches a player's data for the id card has not been triggered.

CHANGELOG

Files Changed

Not every update requires you to replace the whole folder. We do this because we understand it's a pain to redo the configs for every update.

  • All Files - This means you should delete your old cd_identity folder, download and add in the latest version, reconfigure the configs folder and restart your server.

  • All Files Except config.lua - This means you should do all of the above (in the All Files section) but additionally make a backup of the config.lua file and replace the new config.lua file with the one you made a backup of.

  • Specific Files - This means you can copy and paste the SPECIFIC new files over the old ones and restart the server.

Update Type

On rare occasions, you are forced to update to the latest version. Mostly due to authentication updates where the old versions will no longer work.

  • Mandatory - This means you MUST update to this new version, or the old versions will no longer work.

  • Optional - This means it's completely your choice whether you wish to update to the latest version. But we do not offer support for old versions for obvious reasons; they are old.

circle-exclamation

03/03/2021 - 27/07/2021

v1.0.2 - v1.0.7

Files Changed:

Update Type:

Changelog:

circle-check
circle-info

Edit

  • Updated the codesign error handlers.

  • Removed the dependency for screenshot basic as its not longer needed.

  • The resource is now drag-and-drop compatible with any multicharcter resource without having to make changes to external scripts.

circle-exclamation

Last updated

Was this helpful?