BerkieBb
5ba1a3b8f9
feat(interface/menu): checkbox
...
feat(package/interface/menu): checkbox
feat(web/menu/list): checkbox
feat(web/menu/list): checkbox option for ListItem
feat(web/menu/list): custom checkbox
2022-10-29 15:55:08 +02:00
Linden
97c18f0c6b
refactor(resource): export load error
2022-10-28 18:45:47 +11:00
Linden
646473f755
fix(client/cache): GetVehiclePedIsIn
...
Native was swapped out due to a bug R* introduced.
It hasn't been a problem for months and this native is safer.
2022-10-28 00:32:18 +11:00
Luke
a6a0e4905f
feat(web/input): description tooltip on fields
2022-10-27 13:45:27 +02:00
Luke
1127108fcd
feat(web/menu): add description support on list items
2022-10-27 10:09:48 +02:00
davidxd33
4f69c7c5c1
feat(interface/dialog): disabled row property ( #142 )
...
* feat(interface/dialog): readonly, disabled flags
* Update TS prop types
* refactor(web/input): remove read only property
Co-authored-by: davidxd33 <dponce@gmail.com >
2022-10-27 09:17:53 +02:00
Luke
6264bbcbc9
refactor(skillcheck): move array handling into ui
2022-10-18 20:03:00 +02:00
Linden
d5437e070c
chore(interface/skillcheck): types
2022-10-18 20:03:00 +02:00
Luke
4a2866613e
feat(client/skillcheck): skillcheck array chaining
2022-10-18 20:03:00 +02:00
Luke
e4b3e0186d
feat(client/skillcheck): winning/losing promise resolving
2022-10-18 20:03:00 +02:00
Linden
ec18bbf34a
fix(locale): setLocale
2022-10-19 04:14:36 +11:00
Linden
671be5e7a2
refactor(locale): simplify
...
BREAKING CHANGE (kind of)
Remove user-selection for locales. Adds mostly unnecessary complexity,
and most people don't want to bother with it anyway.
Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
Dominic
4f71595122
refactor(keybinds): rename module, tweaks ( #127 )
2022-10-15 10:08:20 +11:00
BerkieBb
115bf702c9
feat(client/textui): open state getter for textUI ( #126 )
...
* feat(package/interface/textui): text ui open getter
* feat(resource/interface/textui): text ui open getter
2022-10-14 17:17:57 +02:00
Sam Shanks
2813bb288b
feat(interface/context): context menu onBack function ( #122 )
...
* feat(interface/context): back button pressed
* fix(context): types
2022-10-11 13:48:59 +02:00
BerkieBb
738296adfb
tweak(resource/interface/menu): add cb field
2022-10-08 01:57:51 +02:00
Linden
0e9ad23fb3
fix: types
2022-10-02 20:19:35 +11:00
DokaDoka
4da4756f7a
fix(resource/zoneCreator): floating point error mitigation
2022-10-02 11:43:10 +10:00
DokaDoka
a84f2586cb
fix(client/zoneCreator): rotation output
2022-10-01 15:24:51 +10:00
BerkieBb
6584105e9c
fix(resource/interface/client/menu): add close missing field to MenuOptions ( #112 )
...
* feat(resource/interface/client/menu): add missing field to MenuOptions
* feat(package/interface/menu) close argument
2022-09-30 09:57:02 +02:00
Luke
6a8eb35a0a
feat(client/interface): close functions for input and alert dialogs
2022-09-29 11:39:30 +02:00
Linden
e624aa2559
fix(version): split and compare semver in 3 parts
...
'11.10' is equal to '11.1' cause maths.
2022-09-29 17:14:11 +10:00
BerkieBb
615a3cc073
feat(interface/menu): onClose keyPressed
2022-09-25 14:26:04 +02:00
DokaDoka
52728feb95
fix(interface/menu): getOpenMenu() returns id rather than entire menu
2022-09-25 11:10:19 +10:00
Linden
5c028759f3
fix(client/vehicleProperties): livery getter
2022-09-22 15:05:23 +10:00
DokaDoka
6fdc1973e4
fix(client/zoneCreator): box zone length and width
2022-09-20 23:31:35 +10:00
Linden
0e1dfc78ba
refactor(resource/vehicleProperties): type fixes
2022-09-18 11:33:17 +10:00
Linden
d08101c545
refactor(resource/vehicleProperties): typings and formatting
2022-09-18 11:25:07 +10:00
Linden
6254ba9ba2
refactor(resource/interface): formatting and type definitions
2022-09-18 09:06:32 +10:00
Jag
47163748d5
feat(menu): Open Menu with specified item index selected
...
* Allows a user to pass in a start index to have pre-selected when a menu is opening
* Cleaned up whitespace inconsistencies in menu.lua
2022-09-17 11:03:10 -07:00
DokaDoka
d37324eeed
feat(client/zoneCreator): display modes
...
add option to display zones as a wireframe, with solid walls, axis helper or both solid walls and axis helper
2022-09-15 21:19:10 +10:00
DokaDoka
18fa0b6391
fix(client/zoneCreator): no more wild rhombus
2022-09-15 20:57:10 +10:00
DokaDoka
5efec8a114
fix(client/zoneCreator): prevent canceling from opening pause menu
2022-09-15 20:56:10 +10:00
DokaDoka
d90f218ae5
feat(client/zoneCreator): command suggestion
2022-09-15 00:21:16 +10:00
DokaDoka
c8ecc169ca
tweak(client/zoneCreator): activate controls when starting creator
2022-09-15 00:20:46 +10:00
DokaDoka
eef6e049e8
feat(resource/zoneCreator): target output format
2022-09-15 00:01:29 +10:00
DokaDoka
6fb18c740a
feat(resource/zoneCreator): change output format in dialog
2022-09-15 00:00:53 +10:00
Linden
3084265bbb
refactor(server/zoneCreator): output format and path, security fix
...
Don't allow players to trigger ox_lib:saveZone without ace permissions.
Write created_zones to root.
Use explicit vectors and set name as a string.
2022-09-14 15:19:01 +10:00
Linden
c95fd8ecf4
refactor(client/zoneCreator): create temporary thread
...
Move the on-tick thread into the startCreator function, and kill it once
creatorActive is set to false.
2022-09-14 15:15:36 +10:00
Linden
26538b8148
refactor(imports): assign modules directly to lib namespace
...
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Linden
107d812dc3
refactor(client/zoneCreator): restrict command access
...
Includes fix for zone name.
2022-09-14 00:56:56 +10:00
Linden
bac9eb576d
feat(client/resource): RegisterCommand wrapper
...
All these tweaks so we can check ACL for client commands.
2022-09-14 00:54:44 +10:00
Linden
9d8584ff9e
feat(server/acl): add ox_lib:checkPlayerAce as callback
2022-09-14 00:53:50 +10:00
Linden
ed7bf536e8
feat(resource): load callbacks
...
Load lib.callback for internal use.
2022-09-14 00:52:10 +10:00
DokaDoka
0ecb968202
feat(resource): zone creator
2022-09-14 00:05:08 +10:00
Tony Stark
ff7a0b6dea
fix(client/interface): fix openMenu getting defined nil ( #86 )
...
openMenu gets defined nil even when the options has passed close = false which result in error
2022-09-08 13:17:05 +02:00
Luke
336a16baed
feat(web): add ability to not be able to close menu
2022-09-08 10:26:35 +02:00
Luke
adf0994b3f
feat(web): ability to not be able to close the context menu
2022-09-08 10:05:44 +02:00
Luke
d494b70506
feat(interface/menu): improve error handling for invalid option override
2022-08-30 21:26:23 +02:00
Linden
bdb88e74c5
fix(version): properly compare minor/patch semver
...
Comparing "2.7.4" to "2.10.1" would compare each number, i.e.
2 = 2,
7 < 10,
4 > 1
Instead compare the major (2 v 2), then minor.patch (7.4 v 10.1).
where doka to do my math
2022-08-23 19:29:45 +10:00