parow / esx_menu_default Goto Github PK
View Code? Open in Web Editor NEWESX Menu Style for FXSERVER gtaonline style
License: GNU General Public License v3.0
ESX Menu Style for FXSERVER gtaonline style
License: GNU General Public License v3.0
how to install I didn't understand where to put the code
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'shop',
{
css = 'superete',
title = 'Magasin',
elements = elements
},
function(data, menu)
TriggerServerEvent('esx_shop:buyItem', data.current.value, data.current.price)
end,
function(data, menu)
menu.close()
CurrentAction = 'shop_menu'
CurrentActionMsg = _U('press_menu')
CurrentActionData = {zone = zone}
end
)
css = 'superete' matches with
.menu .head_superete{
font-family: SignPainter;
font-size: 59px;
background-image: url("../img/header/247.png");
text-align : center;
height : 90px;
line-height : 105px;
color : white;
font-style: oblique;
}
I’ve added to the app.css
.menu .head_police {
font-family: SignPainter;
font-size: 59px;
background-image: url("…/img/header/police.jpg");
text-align : center;
height : 90px;
line-height : 105px;
color : white;
font-style: oblique;
}
(I did the ems one too but thought better to post just one)
the resource.lua
'html/img/header/police.jpg',
'html/img/header/EMS.jpg',
and all the corresponding client.lua (along ALL the menu parts)
(the ones i used vehicle and cloakroom for work just the ones I've added)
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'police_actions',
{
css = 'police',
title = 'Police',
align = 'bottom-right',
from each one, shops works, ammunation works etc.
I cant get my police added and my ems added, nor the impound want to show up.
also, I cant figure out which option will move all of the menus to the bottom right. I have tried changing some values where I thought it would be but to no avail.
Also noticed my mecano and impound do not work. I have made sure they were in the app.css too
Any help would be amazing. Thanks in advance 😄
Hello, I have read the readme carefully, but unfortunately no image is displayed to me:
Where do i put this?
css = 'superete' matches with
.menu .head_superete{
font-family: SignPainter;
font-size: 59px;
background-image: url("../img/header/247.png");
text-align : center;
height : 90px;
line-height : 105px;
color : white;
font-style: oblique;
}
That- that's all.
header image not showing :/
how to fix?
Hello,
after pressing the E key and selecting item and quantity with right arrow to buy from shop when you press enter nothing happens.
Is there another key you must press to buy items or is this a problem ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.