PeppSess

Config lua of fnx-idcard

Jun 17th, 2022 (edited)
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.77 KB | None | 0 0
  1. Config = {}
  2.  
  3. Config.Inventory = 'ox' -- 'ox' or 'qs' ox == ox_invnentory, qs == qs-inventory (#Quasar |❤️|)
  4.  
  5. Config.DriverLicenseTrigger = 'esx_dmvschool:addLicense'
  6. Config.webhooks = '' -- put the webhook here, VERY IMPORTANT
  7. Config.align = 'top-right'
  8. Config.MarkerCoords = vec3(-260.123077, -965.248352, 31.217529)
  9. Config.PayInCash = true
  10. Config.IdCardPrice = 150
  11. Config.ox_lib_Notify  = true
  12.  
  13. Config.ColorTextUi = '#3F51B5'
  14.  
  15. Config.Illegal={
  16.     allow = true, --if enable blip create automatically
  17.     item = 'cryptostick', --item to excange to ped is item dirt_money
  18.     amount = 1 ,
  19.     minHeight = 60,
  20.     maxHeight = 250,
  21. }
  22.  
  23. Config.Command = {
  24.     weapon ={
  25.         allow = true,
  26.         name = 'weaponmenu',
  27.         qtarget = {
  28.             allow = false, -- if you want use Qtarget for WeaponMenu, set true
  29.             timer = 15 --in seconds timer to select player
  30.         }
  31.     },
  32.     drive = {
  33.         allow = true,
  34.         name = 'drive',
  35.         qtarget = {
  36.             allow = false, -- if you want use Qtarget for DriveMenu, set true
  37.             timer = 15 --in seconds timer to select player
  38.         }
  39.     },
  40.     documentPlus = {
  41.         allow = true,
  42.         name = 'documentPlus',
  43.     },
  44.     illegal = {
  45.         allow = true,
  46.         name = 'illegal',
  47.         cardallow = {
  48.             idcard = true,
  49.             drive = true,
  50.             weapon = false,
  51.         },
  52.         npc = {
  53.             allow = true ,
  54.             startblip = 'stopillegalcard', -- disable npc marker
  55.             stopblip = 'illegalcard', -- enable npc marker    
  56.             TimingDialog = 3000,
  57.             dialogText = 'black',
  58.             posNpcDialog = 'top',
  59.             posPlyDialog = 'left-center',
  60.             dialogColor = '#FF5252',
  61.             MarkerIllegalNpc = vec3(260.1758, 2583.125, 44.81543),
  62.             pedIllegalNpcPos = vec3(266.16, 2587.5, 44.84),
  63.             plyIllegalNpcPos = vec3(260.26, 2583.23, 44.81), -- COORDS PLAYER
  64.             headingPly = 257.26, -- HEADING PLAYER
  65.             headingNpc = 145.55, -- HEADING NPC
  66.             cordCameraPly = vec3(261.69, 2579.26, 47.0), -- COORD CAMERA
  67.             cameraHeading = vec4(-25.0, 0.0, 320.88, 0),  -- HEADING CAMERA (cam, vertial inclination, camera rotation, camera height)
  68.             npcHash = 599294057,
  69.             pedPosToSpawn = vec3(266.16, 2587.5, 44.84),
  70.             movmentPed = vec3(264.1978, 2584.457, 44.83228),
  71.             movmentPly = vec3(262.7868, 2583.389, 44.9165),
  72.             dictPly = "amb@world_human_cop_idles@male@idle_b",
  73.             animPly = "idle_d",
  74.             dictPed = "mini@strip_club@idles@bouncer@base",
  75.             animPed = "base",
  76.             pedBackToCoords = vec3(263.16, 2592.13, 44.93)
  77.  
  78.         }
  79.     }
  80. }
  81.  
  82. Config.BaseNameDoc ={---- ITEM NAME ------ ---FOR QUASAR RENEME WEAPON ITEM
  83.     documents ='documents',
  84.     drive = 'drive',
  85.     weapon = 'weapon', -- 'weapons'<-----Quasar
  86. }
  87.  
  88. Config.DocumentPlus = {
  89.     documents = {
  90.         boat = {
  91.             illegalAllowed = true,
  92.             label = 'Boat',
  93.             name = 'Boat License',
  94.             bg_front = "./assets/image/img3.png",
  95.             bg_back = "./assets/image/img3.png",
  96.         },
  97.         plane = {
  98.             illegalAllowed = true,
  99.             label = 'Plane',
  100.             name = 'Plane License',
  101.             bg_front = "./assets/image/img3.png",
  102.             bg_back = "./assets/image/img1.png",
  103.         }
  104.     }
  105. }
  106.  
  107.  
  108.  
  109. Config.Lang = {
  110.     ['helpnotification'] = 'Press [E] to take photo',
  111.     ['npcnotification'] = 'Press [E] knock on the door ',
  112.     ['givedrive']= 'give drive license',
  113.     ['givefirearm']= 'give firearm license',
  114.     ['givedoc']= 'give document',
  115.     ['retiredoc']= 'retire document',
  116.     ['retirefirearm']= 'retire firearm license',
  117.     ['look']= 'You are looking at the document',
  118.     ['show']= 'You are showing the document',
  119.     ['documentsgive']= 'You passed the documents',
  120.     ['documentsreceived']= 'You have received the documents',
  121.     ['noidcard']= 'The player did not make the identity document',
  122.     ['emptydocument'] = 'This document is empty',
  123.     ['removedphoto'] = 'your photo has been taken away',
  124.     ['receivedidcard'] = 'You have received your ID card',
  125.     ['checkFoto'] = 'Check your photo, don\'t tick the checkbox if you want to redo the photo',
  126.     ['confirm'] = 'Confirm',
  127.     ['no_money_cash'] = "You do not have enough money on you",
  128.     ['no_money_bank'] = "You do not have enough money in your bank account",
  129.     ['weaponMenu'] = "License Weapon Menu",
  130.     ['driveMenu'] = "License Drive Menu",
  131.     ['useQtarget'] = "Use target for select nearby player",
  132.     ['illegalmenu'] = "Notes for abdul",
  133.     ['selectdocuments'] = "select the type of document to be falsified",
  134.     ['documents'] = "Id Card",
  135.     ['drive'] = "Drive License",
  136.     ['weapon'] = "Weapon License",
  137.     ['man'] = "Man",
  138.     ['woman'] = "Woman",
  139.     ['name'] = "Name",
  140.     ['surname'] = "Surname",
  141.     ['height'] = "Height",
  142.     ['dob'] = "date of birth mm/gg/yyyy",
  143.     ['sex'] = "Sex",
  144.     ['drivelicense'] = "Drive",
  145.     ['drive_bike'] = "Drive Bike",
  146.     ['drive_truck'] = "Drive Truck",
  147.     ['no_item'] = "You do not have enough item on you",
  148.     ['dialog_1'] = "Abdul: Hey Ayo, what you doing here ?",
  149.     ['dialog_2'] = "You: Hey bro, i'm going to do a question that can looks strange to you.' ",
  150.     ['dialog_3'] = "Abdul: First don't call me bro! Second, what you need ?",
  151.     ['dialog_4'] = "You: Ok ok calm down, someone says that you create Documents",
  152.     ['dialog_5'] = "Abdul: Yes, but you're sailing in deep water, are you completely sure of this choice?",
  153.     ['dialog_6'] = "You: I know and i'm sure of my choice",
  154.     ['dialog_7'] = "Abdul: Alright, give me some hours, and especially you'll have to give me some money!",
  155. }
Add Comment
Please, Sign In to add comment