Luke
993b06e880
refactor(nui): Better organize components
2022-04-01 21:41:53 +02:00
Luke
c31fed2c41
chore(nui): Get rid of linting warnings
2022-04-01 21:23:45 +02:00
Luke
d6b21a0481
feat(nui): Context menu Lua callbacks
2022-04-01 21:22:14 +02:00
Luke
8156a123f7
fix(nui): Set frame visibility to true by default
2022-04-01 20:25:19 +02:00
Linden
34310698bc
feat(imports/loadFramework): loader for ox, qb, and esx
...
Deeply upsetting code that should probably be thrown into a fire.
2022-03-31 12:47:56 +00:00
Linden
d30a355254
feat(acl): if principal is a number, reference player.num
2022-03-31 12:47:38 +00:00
Linden
5c94328b45
Merge branch 'master' of https://github.com/overextended/ox_lib
2022-03-30 12:33:10 +00:00
Linden
d2441eb60a
feat(logger): add datadog logging
2022-03-30 12:32:41 +00:00
Linden
13be3e7cdc
Merge pull request #10 from xrtw/patch-1
...
GetVehicleXenonLightsColour -> GetVehicleXenonLightsColor
2022-03-30 22:21:01 +11:00
Luke
a7dd713b6b
feat(nui): Context menu sub menus
2022-03-28 16:49:07 +02:00
Luke
edce4b4a82
fix(nui): Don't display metadata popover if there is no metadata
2022-03-27 19:10:44 +02:00
Luke
ac832d4840
refactor(nui): Move context items into separate files
2022-03-27 18:17:26 +02:00
Luke
ccf00a6a9e
feat(nui): Add markdown support to text ui
...
Also changed the font to be a monospaced font, avoids weird alignment issues
2022-03-26 11:02:38 +01:00
Luke
a3874965bc
feat(nui): Add scale fade transition to context menu
2022-03-26 09:59:26 +01:00
Luke
331fb890c9
feat(nui): Display an arrow if an item goes into a sub menu
2022-03-26 09:55:05 +01:00
Luke
f346d2ad99
refactor(nui): Context menu style adjustments
2022-03-25 23:56:50 +01:00
xrtw
37448b354e
GetVehicleXenonLightsColour -> GetVehicleXenonLightsColor
...
https://docs.fivem.net/natives/?_0x3DFF319A831E0CDB
2022-03-25 13:42:53 +02:00
Linden
c2bfb83816
fix(imports/points): incorrect var ref
...
Them feels when you forget to push a commit before making a release.
2022-03-25 10:58:46 +00:00
Linden
500315ddaa
refactor(imports/points): rename point.callback to point.inside
2022-03-25 10:41:48 +00:00
Linden
3b18ca2b33
perf(imports/points): only insert into nearby if point uses callback
2022-03-25 10:38:32 +00:00
Luke
e3ef55b999
feat(nui): Metadata popover
2022-03-24 20:00:09 +01:00
Luke
637d6d8e99
feat(nui): Context menu metadata mapping
2022-03-23 17:52:30 +01:00
Luke
87df1afbe2
feat(nui): WIP Context menu
2022-03-22 21:41:56 +01:00
Luke
d716cc7326
feat(nui): Use pnpm instead of Yarn
2022-03-20 22:11:45 +01:00
Luke
3148ef6b1f
refactor(nui): Styling and sizing changes
2022-03-20 19:58:52 +01:00
Luke
5a556f3764
refactor(nui): Custom notification layout
2022-03-20 17:38:38 +01:00
Luke
86431b6bef
feat(nui): Icon support for custom notifications
2022-03-20 11:14:46 +01:00
Luke
97be95fe35
refactor(nui): Style adjustments
2022-03-19 12:57:49 +01:00
Luke
65056114ba
feat(nui): Input dialog
2022-03-19 12:19:01 +01:00
Luke
c9ae4a24fa
feat(nui): Allow changing position of circle progressbar
2022-03-19 10:32:10 +01:00
Luke
a6fe8ae5af
feat(nui): Text UI
2022-03-18 16:59:18 +01:00
Linden
820beb5438
fix(cache): leftover print
2022-03-16 06:18:20 +00:00
Linden
913c51307a
fix(cache): update seat when shuffling
2022-03-16 06:08:18 +00:00
Linden
33681a1557
feat(imports/points): onEnter method
2022-03-16 01:18:10 +00:00
Luke
be1048271a
feat(nui): Progress bar cancel
2022-03-15 21:08:08 +01:00
Luke
ae073881c3
feat(nui): Progressbar
2022-03-15 20:35:02 +01:00
Luke
44491b92df
feat(nui): Circle progressbar
2022-03-15 15:42:54 +01:00
Linden
62e4fea5ad
refactor(init): set cache[key] after triggering onCache
...
Allow for comparison of new and old values by checking cache[key]
against the value sent as an argument.
2022-03-15 10:34:22 +00:00
Linden
e971778b29
refactor(vehicleproperties): throw error for invalid or unowned entity
2022-03-15 06:52:40 +00:00
Luke
28ea678b92
feat(nui): Notifications
2022-03-14 15:53:59 +01:00
Luke
5314b59e8b
feat(nui): Initial NUI files
2022-03-13 22:30:57 +01:00
Linden
2ce934c41a
feat(imports/points): distance checks and interaction api
...
WIP. Set callback functions when exiting and standing in range of
a set point. Primary callback is called on-frame and can be used
to check for key presses, distance, draw markers, etc.
2022-03-13 03:22:09 +00:00
Linden
35e4bc7509
perf(cache): check vehicle every second tick
2022-03-13 03:21:33 +00:00
Linden
13c8c29811
refactor: change event names from lualib to ox_lib
2022-03-13 03:21:01 +00:00
Linden
f40accd9e8
Merge branch 'master' of https://github.com/overextended/ox_lib
2022-03-10 14:23:28 +00:00
Linden
3acc70f32a
fix(callback): incorrect param definition
2022-03-10 14:23:25 +00:00
Linden
3c7cd3dc6b
refactor(init): throw an error if ox_lib is not started
2022-03-10 15:54:13 +11:00
Linden
55c32d91f4
Update README.md
2022-03-04 11:15:47 +11:00
Linden
5c157db3e5
fix(callback): incorrect args in __call method
2022-03-04 10:35:14 +11:00
Linden
2a14391561
Merge pull request #9 from overextended/dev
2022-03-02 17:50:37 +11:00