overextended / ox_lib

A FiveM resource and script library for Lua and JS.
https://overextended.dev/ox_lib
GNU Lesser General Public License v3.0
282 stars 378 forks source link

[Suggestion] - Suggestion for Real-Time Menu Updates in Ox_Lib #600

Open Mesrine67 opened 2 weeks ago

Mesrine67 commented 2 weeks ago

Suggestion for Real-Time Menu Updates in Ox_Lib

Problem: When using the menu system provided by Ox_Lib, I cannot update the information of a menu while it is open. This limitation affects the dynamic interaction I want to create in my server. I need the ability to refresh or update the menu contents in real-time based on in-game events or data changes.

Details:

Example Use Case: I have a menu that lists nearby vehicles. As vehicles move in and out of the area, I need the menu to update in real-time to reflect the current state without the player having to close and reopen the menu.

Request: Could you provide guidance on how to implement real-time updates to the menu contents while it is open? If this feature is not currently supported, I would like to suggest considering it for a future update. This functionality would greatly enhance the dynamic capabilities of Ox_Lib menus, providing a more seamless and interactive experience for users.

Thank you for your support and for developing such a robust library for the FiveM community.

FiveM_b3095_GTAProcess_2024 06 19-13 09-ezgif com-video-to-gif-converter