Guest User

L3onskyy Papers

a guest
Jan 17th, 2023
1,157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.33 KB | None | 0 0
  1. Config = {}
  2.  
  3. --- SETTINGS FOR ESX
  4. Config.esxSettings = {
  5.     enabled = true,
  6.     oldEsx = false,
  7. }
  8.  
  9. --- SETTINGS FOR QBCORE
  10. Config.qbSettings = {
  11.     enabled = false,
  12.     useNewQBExport = true,
  13. }
  14.  
  15. --- SETTINGS FOR STANDALONE
  16. --- Standalone only allows for command based papers
  17. --- Job checks will also be ignored
  18. Config.standalone = {
  19.     enabled = false,
  20. }
  21.  
  22. -- Scenario that plays when looking at an image
  23. Config.playerScenario = {
  24.     enabled = true,  -- Setting to enable the player scenario for the card
  25.     scenario = 'WORLD_HUMAN_CLIPBOARD'  -- Player scenario for the card usage
  26. }
  27.  
  28. --- Arguments
  29. -- command = command that players will be able to type to see the image
  30. -- fileUrl = direct url to the image that will be visible
  31. -- size = size of the image that will be shown in percentage (1 - 100)
  32. -- jobs = table of jobs that will be able to access the image
  33. Config.commands = {
  34.     {
  35.         command = 'example_paper',
  36.         size = 90,
  37.         fileUrl = 'https://media.discordapp.net/attachments/444974228597374977/1065013438922883206/sample.jpg?width=478&height=676',
  38.     },
  39.     {
  40.         command = 'rules',
  41.         size = 60,
  42.         fileUrl = 'https://media.discordapp.net/attachments/444974228597374977/1065020081819631686/image.png',
  43.     },
  44.     {
  45.         command = 'example_pokemon',
  46.         fileUrl = 'https://media.discordapp.net/attachments/444974228597374977/1065015118611632198/kartPikachu3.jpg?width=486&height=676',
  47.         size = 70,
  48.         jobs = {
  49.             'police'
  50.         }
  51.     }
  52. }
  53. --- Arguments
  54. -- item = item that players will be able to use to see the image
  55. -- fileUrl = direct url to the image that will be visible
  56. -- size = size of the image that will be shown in percentage (1 - 100)
  57. -- jobs = table of jobs that will be able to access the image
  58. -- takeItem = boolean `true` or `false`. When true the item will be removed upon use/view
  59. Config.items = {
  60.     {
  61.         item = 'example_document',
  62.         size = 90,
  63.         fileUrl = 'https://media.discordapp.net/attachments/444974228597374977/1065013438922883206/sample.jpg?width=478&height=676',
  64.         takeItem = false,
  65.     },
  66. }
  67.  
  68. --- LOCALE
  69. -- To translate the messages edit the message on the right side! Not the message between the square brackets
  70. Locale = {
  71.     ['~r~You can not view this'] = '~r~You can not view this',
  72. }
  73.  
Advertisement
Add Comment
Please, Sign In to add comment