Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.93 KB

readme.md

File metadata and controls

39 lines (28 loc) · 1.93 KB

MTC-Fakecards

MTC-Fakecards is a script designed to give the players a possibility to fake their identity card or drivers license. It gives the player a random firstname, lastname and dob. It chosses the players new identity on a random list that can be found and changed in: config/names.lua.

Our links

How to use it?

  1. Clone the repository
  2. Rename the folder to mtc-fakecards
  3. Add the following code to qbx_idcard/bridge/framework/qbox.lua
  4. Configure your config in: config/config.lua
  5. Start the script

Dependencies

Support

MTC-Fakecards currently only supports the qbox framework with qbx_idcard. In the future we will look into support for ESX and other ID Card scripts.

How to change the locale?

In MTC-fakecards we are using ox_lib locale system. The basic value will be english. To add other languages copy the preset: en.json and rename it to you langcode.json and translate the value.

Developer Extensions

An extra event / function has been added after the purchase of a fake item. You can add your own extension to this. For example a dispatch message or something else you can think of

  • Client Event: client/forge.lua:line35
  • Server Function: server/main.lua:line10

Previews

image image

👉 Join our community

Discord