Skip to content
KS-ID-Card

KS-ID-Card

Installation

  1. Unzip the delivered archive into your resources/ folder, under the name ks-id-card.
  2. Import the provided install.sql file into your database.
  3. Add ensure ks-id-card to your server.cfg, after oxmysql and qb-core.
  4. Restart your server.

Configuration

Config.FakeIdentityUnmaskChance = 15 -- % de chance de démasquage à chaque présentation
Config.WantedPosterThreshold = 3 -- nombre de délits avant génération d'un avis de recherche

WantedPosterThreshold automatically triggers a wanted poster once that many offenses are reached — set a very high value to disable automatic generation.

Adding an offense to the record

From a police or justice script:

exports['ks-id-card']:AddOffense(citizenId, {
  label = "Vol à main armée",
  bounty = 150,
})

The offense is immediately added to the reviewable record, and counts toward the automatic wanted-poster threshold.

Common issues

The fake identity never fools NPCs. Check Config.FakeIdentityUnmaskChance — a value of 100 always unmasks it, lower it for a more reliable fake identity.

Wanted posters don’t appear around town. Check that Config.PosterLocations contains valid locations, and that the player’s offense count has reached Config.WantedPosterThreshold.

Something not covered here? Join our Discord.