Luke
caa0b8284f
fix(client/context): Ensure is ordered correctly
...
Previously the menu items would be randomly ordered, now they are the order you wrote them to be in.
2022-04-16 11:48:24 +02:00
Luke
282d81500c
fix(client/context): Throw error when context id doesn't exist
...
Opening a context menu before registering it would previously result in the script completely erroring out and having stuck nui focus
2022-04-15 11:27:08 +02:00
Luke
c21054280c
fix(client/context): Allow using events to open context menus
...
There was an issue where if you wanted to open a second context menu using args from the first context menu's item with events, the nui focus would get stuck beacuse it would get set by the event.
2022-04-15 11:26:11 +02:00
Luke
50b1ddd167
feat(web/context): Get open context menu function
2022-04-15 10:22:31 +02:00
Linden
9a3b17029f
refactor(resource/interface): keymapping and multi-prop support
...
Prop data should support a single table or an array for multiple
props.
2022-04-14 13:47:56 +00:00
Linden
aaab5798c0
feat(resource/interface): progressActive and cancelprogress command
2022-04-14 13:11:51 +00:00
Linden
7ea609ae91
Merge branch 'master' of https://github.com/overextended/ox_lib
2022-04-14 06:45:55 +00:00
Linden
0227bd11a6
feat(resource/interface): progress bar
2022-04-14 06:45:48 +00:00
Luke
128fb86954
fix(client): Add missing NUI callbacks
2022-04-11 16:14:32 +02:00
Luke
ed75b683d5
feat(client): Text UI functions
2022-04-11 15:59:18 +02:00
Luke
ff71a7d033
feat(client): Input dialog function
2022-04-11 15:26:10 +02:00
Linden
760f18653d
tweak(resource/interface): register net event for lib.notify
2022-04-11 04:59:21 +00:00
Linden
e842185382
feat(resource/interface): export notify
2022-04-11 03:52:25 +00:00
Luke
d6b21a0481
feat(nui): Context menu Lua callbacks
2022-04-01 21:22:14 +02:00