-
-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] - es_extended - Old default inventory back #1325
Comments
@granfuego Hi! I will ask the team how appropriate it would be to do this. If it comes back it will be switched on/off based on a config. |
Okay, and then there would be a problem with other scripts aswell because other scripts now uses context. Example: and, sorry if my explanation is complicated, english isnt my main language:) |
@granfuego
Yes, this is exactly the question whether it should be solved globally or locally, i.e. that a given script uses context and a given script does not use context. This is the questionable part. Yes we know that context is an obsolete thing, it was a very old rudimentary context menu experiment, but for some reason everything was rewritten for it. We also know that context is about useless in the future we will work on it to have a usable context menu for ESX. I'll see how complicated it would be to write a wrapper for it and report back with the results. |
@Gellipapa hey, just wondering how long would it take to add this feature? No rush of course but i just looked and its in pending so i just thought id ask, because i would like to add it on my server as soon as the update comes for es_extended |
@granfuego Hi! Sorry for late response but we have discussed it with the team and several people have indicated that it is not a good direction to write a wrapper for this, so that context and menu can be used. The solution will be to create a new context menu that will support both keyboard presses and clicks. This is the right direction. So if you want to have the menu system on your server you have to implement it yourself. You have the exact commit that you can use to reset the inventory by copying its contents into es_extended. I suggest you do this in a separate lua file so that you only have to copy your custom file every time you update and the inventory will work. Thanks for your understanding, let's work on the new context menu. |
I'll send you a file with this logic in it and you just copy it and the inventory will work for you, I'll write to you soon. |
@Gellipapa okay, i can try my best to make it work myself, and if the context menu will support keyboard inputs then thats just fine. Because then its almost as same as the old one. But glad to hear the support for esx context is coming! |
@granfuego Hi! Since it will take more time to rewrite the context menu, I have written the old logic for you, so copy the file in this zip in the client/modules folder and replace the fxmanifest file with the one in the .zip file. After that a server restart and then you can use it smoothly by pressing F2 the old esx_menu_default inventory will appear. UI: So if an esx update comes in the future, you should always copy this file back and enter the file path in fxmanifest and use this kind of inventory with the latest es_extended. |
@Gellipapa Thanks for making it!! I just got off my pc but seems like i gotta go back on it and test it out.😅 |
@Gellipapa Im not sure what i did wrong but didnt work, here is what i did.
|
@granfuego Hi! Ohh sorry i uploaded bad zip file. I will upload new zip. |
This is fixed version. |
@Gellipapa It worked!! Thank you, you have no idea how helpful you were! Just saying because im not that experienced in lua that i could do that:D |
I am glad that it worked. |
Hello, I have tried doing the same thing and it doesn't work, could you help me? |
yeah sure add me on dc: east_22 |
So, now the inventory works with esx_context, but is there a way to add a option in config that you can choose between esx.ui.menu and esx_context. Because the old inventory was good because it could be used by arrow keys. Esx_context works with mouse and so does other inventories what i have found on the internet (huds)
And yeah, i could go back to old versions of es_extended, but i want to use the newest version.
If you could tell me a way to go back with esx ui menu, sure tell me please.
But this feature in my opinion is great, if people would still like to use latest version of es_extended and still use old style default inventory!
(found this picture from google, its like that, but its redesigned esx_menu_default)
The text was updated successfully, but these errors were encountered: