Advertisement
Guest User

Menumascara

a guest
Jun 3rd, 2019
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. -- Menu configuration, array of menus to display
  2. menuConfigs = {
  3. ['emotes'] = { -- Example menu for emotes when player is on foot
  4. enableMenu = function() -- Function to enable/disable menu handling
  5. local player = GetPlayerPed(-1)
  6. return IsPedOnFoot(player)
  7. end,
  8. data = { -- Data that is passed to Javascript
  9. keybind = "F2", -- Wheel keybind to use
  10. style = { -- Wheel style settings
  11. sizePx = 600, -- Wheel size in pixels
  12. slices = { -- Slice style settings
  13. default = { ['fill'] = '#3FBFBF', ['stroke'] = '#3FBFBF', ['stroke-width'] = 2, ['opacity'] = 0.40 },
  14. hover = { ['fill'] = '#BF3FBF', ['stroke'] = '#BF3FBF', ['stroke-width'] = 2, ['opacity'] = 0.30 },
  15. selected = { ['fill'] = '#CCFFFF', ['stroke'] = '#CCFFFF', ['stroke-width'] = 2, ['opacity'] = 0.40 }
  16. },
  17. titles = { -- Text style settings
  18. default = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
  19. hover = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
  20. selected = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' }
  21. },
  22. icons = {
  23. width = 64,
  24. height = 64
  25. }
  26. },
  27. wheels = { -- Array of wheels to display
  28. {
  29. navAngle = 270, -- Oritentation of wheel
  30. minRadiusPercent = 0.3, -- Minimum radius of wheel in percentage
  31. maxRadiusPercent = 0.6, -- Maximum radius of wheel in percentage
  32. labels = {"SACAR MASCARA", "CALABAZA", "GASMASK", "KAWAII", "ZOMBIE", "GAFASNEGRAS"},
  33. commands = {"mascara", "mascaraabobora", "mascaradegas", "mascarakawai", "mascarazumbi", "mascaraswat"}
  34. },
  35. {
  36. navAngle = 285, -- Oritentation of wheel
  37. minRadiusPercent = 0.6, -- Minimum radius of wheel in percentage
  38. maxRadiusPercent = 0.9, -- Maximum radius of wheel in percentage
  39. labels = {"AGUILA", "MAPACHE", "GATO", "MONO", "GANGSTER", "PUG", "UNICORNIO", "CABALLO", "ZORRO", "OSO", "LOBO", "PAPEL"},
  40. commands = {"mascaraaguia", "mascaratexugo", "mascaragato", "mascaramacaco", "mascaragang2", "mascarapug", "mascaraunicornio", "mascaracavalo", "mascararaposa", "mascaraurso", "mascaralobo", "mascaradepapel"}
  41. }
  42. }
  43. }
  44. },
  45. --[[['vehicles'] = { -- Example menu for vehicle controls when player is in a vehicle
  46. enableMenu = function() -- Function to enable/disable menu handling
  47. local player = GetPlayerPed(-1)
  48. return IsPedOnFoot(player)
  49. end,
  50. data = { -- Data that is passed to Javascript
  51. keybind = "F2", -- Wheel keybind to use
  52. style = { -- Wheel style settings
  53. sizePx = 600, -- Wheel size in pixels
  54. slices = { -- Slice style settings
  55. default = { ['fill'] = '#3FBFBF', ['stroke'] = '#3FBFBF', ['stroke-width'] = 2, ['opacity'] = 0.40 },
  56. hover = { ['fill'] = '#BF3FBF', ['stroke'] = '#BF3FBF', ['stroke-width'] = 2, ['opacity'] = 0.30 },
  57. selected = { ['fill'] = '#CCFFFF', ['stroke'] = '#CCFFFF', ['stroke-width'] = 2, ['opacity'] = 0.40 }
  58. },
  59. titles = { -- Text style settings
  60. default = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
  61. hover = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
  62. selected = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' }
  63. },
  64. icons = {
  65. width = 64,
  66. height = 64
  67. }
  68. },
  69. wheels = { -- Array of wheels to display
  70. navAngle = 270,
  71. minRadiusPercent = 0.3,
  72. maxRadiusPercent = 0.6,
  73. labels = {"SACAR MASCARA", "CALABAZA", "GASMASK", "KAWAII", "ZOMBIE", "GAFASNEGRAS"},
  74. commands = {"mascara", "mascaraabobora", "mascaradegas", "mascarakawai", "mascarazumbi", "mascaraswat"}
  75. },
  76. {
  77.  
  78. navAngle = 285,
  79. minRadiusPercent = 0.6,
  80. maxRadiusPercent = 0.9,
  81. labels = {"AGUILA", "MAPACHE", "GATO", "MONO", "GANGSTER", "PUG", "UNICORNIO", "CABALLO", "ZORRO", "OSO", "LOBO", "PAPEL"},
  82. commands = {"mascaraaguia", "mascaratexugo", "mascaragato", "mascaramacaco", "mascaragang2", "mascarapug", "mascaraunicornio", "mascaracavalo", "mascararaposa", "mascaraurso", "mascaralobo", "mascaradepapel"}
  83. }
  84.  
  85. }
  86. }]]
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement