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
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
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
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
Linden
cdc7523146
fix(cache): ped not triggering update event
2022-03-02 02:28:10 +00:00
Linden
6b8b7990c8
fix(init): incorrect server check
2022-03-01 14:20:14 +00:00
Linden
5a30dd7ad1
fix(init): initial cache index returns full table
2022-03-01 13:58:08 +00:00
Linden
a37a897b10
feat(init): callback hook when updating cache
2022-03-01 13:42:39 +00:00
Linden
58faab6217
feat(init): implement cache
2022-03-01 13:23:47 +00:00
Linden
b37e9f772f
refactor(cache): save seat index instead of driver
2022-03-01 13:22:52 +00:00
Linden
f8d68df5e9
feat(cache): add lib.cache and update event
2022-03-01 12:28:04 +00:00
Linden
adf08e44b8
chore: move files, add docs link
2022-03-01 10:55:46 +00:00
Linden
381935e844
Create FUNDING.yml
2022-03-01 21:39:34 +11:00
Linden
6aeda78428
fix(vehicleproperties): save correct tyre damage
2022-02-28 07:20:46 +00:00
Linden
4ae20d4dad
refactor(imports/callback): new syntax
...
BREAKING!
2022-02-28 17:17:05 +11:00
Linden
aeccbece09
refactor: rename imports
...
BREAKING!
Since the folder name determines the import name (i.e. lib.callbacks), use better names and lowerCamelCase.
2022-02-28 16:30:58 +11:00
Linden
aceacbcdae
Update README.md
2022-02-28 14:17:25 +11:00
Linden
e83aa653cc
refactor(init): call imports and exports via lib
...
Deprecate import (now just references lib); when calling or indexing
lib for the first time, attempt to load a module else call an export.
2022-02-28 02:40:25 +00:00
Linden
37032fe0dd
feat(states): WIP handler for cacheing and setting states
...
Provide a centralised non-framework dependent interval to
track and perform tasks based on certain variables, such as
if the player is driving, in a vehicle, or walking.
Will later add a statebag change handler with callbacks, to
easily listen for state changes and use them in third-party
resources.
2022-02-28 00:49:44 +00:00
Linden
478cd93e97
feat(version): version and dependency checks
2022-02-28 00:49:24 +00:00
Linden
d3ef7d5018
refactor: rename resource
2022-02-28 00:48:36 +00:00
Linden
40b7fe2a77
refactor(init): don't cache function refs
2022-02-28 08:35:32 +11:00
Linden
02ba40124e
feat(commands): chat suggestions
2022-02-28 08:09:03 +11:00
Linden
75fa709200
feat(vehicleproperties): save broken windows, doors, and tyres
2022-02-28 08:08:22 +11:00