Dolaji's Scripts
StoreDiscordYoutube
  • Our Scripts
  • Resources
    • calibrate-distributor
    • ds-drilling
    • ds-atmrobbery
    • ds-fruitpicker
    • ds-milkjob
    • ds-cutscene
    • ds-mining
    • ds-electrician
    • weazel-news
  • RedM
    • ID Card
Powered by GitBook
On this page
  • 1. Installation​
  • 2. Usage​
  • 3. Config.lua
  • 4. For developers
  1. RedM

ID Card

Documentation relating to the ds-idcard.

Previousweazel-news

Last updated 6 months ago

1. Installation

ds-idcard works on all frameworks compatible with jo_libs ().

To install ds-idcard:

  • Download the library:

  • Unzip the folder and drop it in your resource folder

  • Download ds-idcard from your

  • Unzip the folder and drop it in your resource folder

  • Add this ensure in your server.cfg

    • ensure jo_libs

    • ensure ds-idcard

  • add idcard item in your items

2. Usage

Go on the Identity Creation (blip on the map) to get the prompt. Press the key to open the book.

3. Config.lua

Config.lua
Config = Config or {}

Config.Locations = {
    [1] = {
        coords = vector3(2732.16, -1401.94, 46.18),
        pedCoords = vector3(2732.16, -1401.94, 45.28),
        pedHeading = 27.96,
	distancePrompt = 2.0,
        EnablePrompt = true,
        EnableJob = true,
        job = 'shariff',
    },
}

Config.Ped = {
    enable = true,
    pedModel = `s_m_m_ambientblwpolice_01`,
}

Config.Blip = {
    enable = true,
    BlipName = "Identity Creation",
    BlipSprite = `blip_ambient_vip`,
}

Config.Prompt = {
    key = 'INPUT_FRONTEND_ACCEPT',
    groupName = 'Identity Creation',
    keyName = "Open Creator"
}

4. For developers

Events

Open the Identity Creator (Client)

TriggerEvent("ds-idcard:openCreator")

Buy the script
https://www.youtube.com/watch?v=kMOGG7YtFTE
​
the list
jo_libs
keymaster
​
​