Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Menu configuration, array of menus to display
- menuConfigs = {
- ['emotes'] = { -- Example menu for emotes when player is on foot
- enableMenu = function() -- Function to enable/disable menu handling
- local player = GetPlayerPed(-1)
- return IsPedOnFoot(player)
- end,
- data = { -- Data that is passed to Javascript
- keybind = "F2", -- Wheel keybind to use
- style = { -- Wheel style settings
- sizePx = 600, -- Wheel size in pixels
- slices = { -- Slice style settings
- default = { ['fill'] = '#3FBFBF', ['stroke'] = '#3FBFBF', ['stroke-width'] = 2, ['opacity'] = 0.40 },
- hover = { ['fill'] = '#BF3FBF', ['stroke'] = '#BF3FBF', ['stroke-width'] = 2, ['opacity'] = 0.30 },
- selected = { ['fill'] = '#CCFFFF', ['stroke'] = '#CCFFFF', ['stroke-width'] = 2, ['opacity'] = 0.40 }
- },
- titles = { -- Text style settings
- default = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
- hover = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
- selected = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' }
- },
- icons = {
- width = 64,
- height = 64
- }
- },
- wheels = { -- Array of wheels to display
- {
- navAngle = 270, -- Oritentation of wheel
- minRadiusPercent = 0.3, -- Minimum radius of wheel in percentage
- maxRadiusPercent = 0.6, -- Maximum radius of wheel in percentage
- labels = {"SACAR MASCARA", "CALABAZA", "GASMASK", "KAWAII", "ZOMBIE", "GAFASNEGRAS"},
- commands = {"mascara", "mascaraabobora", "mascaradegas", "mascarakawai", "mascarazumbi", "mascaraswat"}
- },
- {
- navAngle = 285, -- Oritentation of wheel
- minRadiusPercent = 0.6, -- Minimum radius of wheel in percentage
- maxRadiusPercent = 0.9, -- Maximum radius of wheel in percentage
- labels = {"AGUILA", "MAPACHE", "GATO", "MONO", "GANGSTER", "PUG", "UNICORNIO", "CABALLO", "ZORRO", "OSO", "LOBO", "PAPEL"},
- commands = {"mascaraaguia", "mascaratexugo", "mascaragato", "mascaramacaco", "mascaragang2", "mascarapug", "mascaraunicornio", "mascaracavalo", "mascararaposa", "mascaraurso", "mascaralobo", "mascaradepapel"}
- }
- }
- }
- },
- --[[['vehicles'] = { -- Example menu for vehicle controls when player is in a vehicle
- enableMenu = function() -- Function to enable/disable menu handling
- local player = GetPlayerPed(-1)
- return IsPedOnFoot(player)
- end,
- data = { -- Data that is passed to Javascript
- keybind = "F2", -- Wheel keybind to use
- style = { -- Wheel style settings
- sizePx = 600, -- Wheel size in pixels
- slices = { -- Slice style settings
- default = { ['fill'] = '#3FBFBF', ['stroke'] = '#3FBFBF', ['stroke-width'] = 2, ['opacity'] = 0.40 },
- hover = { ['fill'] = '#BF3FBF', ['stroke'] = '#BF3FBF', ['stroke-width'] = 2, ['opacity'] = 0.30 },
- selected = { ['fill'] = '#CCFFFF', ['stroke'] = '#CCFFFF', ['stroke-width'] = 2, ['opacity'] = 0.40 }
- },
- titles = { -- Text style settings
- default = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
- hover = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
- selected = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' }
- },
- icons = {
- width = 64,
- height = 64
- }
- },
- wheels = { -- Array of wheels to display
- navAngle = 270,
- minRadiusPercent = 0.3,
- maxRadiusPercent = 0.6,
- labels = {"SACAR MASCARA", "CALABAZA", "GASMASK", "KAWAII", "ZOMBIE", "GAFASNEGRAS"},
- commands = {"mascara", "mascaraabobora", "mascaradegas", "mascarakawai", "mascarazumbi", "mascaraswat"}
- },
- {
- navAngle = 285,
- minRadiusPercent = 0.6,
- maxRadiusPercent = 0.9,
- labels = {"AGUILA", "MAPACHE", "GATO", "MONO", "GANGSTER", "PUG", "UNICORNIO", "CABALLO", "ZORRO", "OSO", "LOBO", "PAPEL"},
- commands = {"mascaraaguia", "mascaratexugo", "mascaragato", "mascaramacaco", "mascaragang2", "mascarapug", "mascaraunicornio", "mascaracavalo", "mascararaposa", "mascaraurso", "mascaralobo", "mascaradepapel"}
- }
- }
- }]]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement