Isigar

rcore_clothes - example vest

Nov 9th, 2021
1,772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.96 KB | None | 0 0
  1.  
  2. {
  3.     position = vector3(X,Y,Z), --Position of blip
  4.     label = 'Vespuci - Vests', --Mask at vespuci beach
  5.     sprite = 362, --Blip sprite
  6.     color = 60,--Blip color
  7.     sections = {
  8.         glasses = {--Section is one 3D openable text
  9.             pos = vector3(X,Y,Z), --Position of it
  10.             label = '🙈', --Display label
  11.             help = 'Press ~INPUT_CONTEXT~ for open vest shop', --Help text
  12.             components = { --Every section has components
  13.                 {
  14.                     label = 'Vest', --Component label
  15.                     name = 'bproof_1', --Component name are using from skinchanger names mask_1, mask_2 etc
  16.                     from = -1, --From
  17.                     to = 160, --To (automaticly setup so value doesnt matter)
  18.                     current = -1, --Start position (setup by current player clothes)
  19.                     reset = {
  20.                         'bproof_2' --If player will change mask_1 - reset mask_2 value
  21.                     },
  22.                     price = 50, --Price for mask:_1
  23.                     blacklist = {
  24.                         26,27, --Blacklist for only this shop, you can also use global blacklist, whitelist
  25.                     }
  26.                 },
  27.                 {
  28.                     label = 'Vest color', --Mask 2 label
  29.                     name = 'bproof_2', --mask_2
  30.                     from = 0,
  31.                     to = 20,
  32.                     current = 0,
  33.                     price = 10, --Price for this element
  34.                 },
  35.             },
  36.             cam = {
  37.                 offset = { --Camera offset
  38.                     x = 0.0,
  39.                     y = 1.0,
  40.                     z = 0.3
  41.                 },
  42.                 pointOffset = { --Offset of point
  43.                     x = 0,
  44.                     y = 0,
  45.                     z = 0.8
  46.                 },
  47.                 taskHeading = 100.66 --Heading, where player will look
  48.             }
  49.         },
  50.     }
  51. },
  52.  
  53.  
Advertisement
Add Comment
Please, Sign In to add comment