Isigar

rcore_clothes - simple example with job limit

Jan 23rd, 2021
1,844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.73 KB | None | 0 0
  1. {
  2.         position = vector3(-1164.99,-1586.59,4.38),
  3.         label = 'Vespuci - Masky',
  4.         sprite = 362,
  5.         color = 60,
  6.         society = 'society_goverment',
  7.         sections = {
  8.             glasses = {
  9.                 job = {
  10.                     'onejob', --Use job limitation
  11.                     'twojob'
  12.                 },
  13.                 pos = vector3(-1164.99,-1586.59,4.38),
  14.                 label = '🙈',
  15.                 help = 'Zmackni ~INPUT_CONTEXT~ pro otevreni nabidky s maskami',
  16.                 components = {
  17.                     {
  18.                         label = 'Maska',
  19.                         name = 'mask_1',
  20.                         from = -1,
  21.                         to = 160,
  22.                         current = -1,
  23.                         reset = {
  24.                             'mask_2'
  25.                         },
  26.                         price = 50,
  27.                         blacklist = {
  28.                             26,27,
  29.                         }
  30.                     },
  31.                     {
  32.                         label = 'Barva masky',
  33.                         name = 'mask_2',
  34.                         from = 0,
  35.                         to = 20,
  36.                         current = 0,
  37.                         price = 10,
  38.                     },
  39.                 },
  40.                 cam = {
  41.                     offset = {
  42.                         x = 0.0,
  43.                         y = 1.0,
  44.                         z = 0.7
  45.                     },
  46.                     pointOffset = {
  47.                         x = 0,
  48.                         y = 0,
  49.                         z = 0.8
  50.                     },
  51.                     taskHeading = 100.66
  52.                 }
  53.             },
  54.         }
  55.     },
Advertisement
Add Comment
Please, Sign In to add comment