Commit Graph
271 Commits
Author SHA1 Message Date
Michur55 db515f552b refactor(locales): cancel string Polish translation (#43) 2022-06-18 22:13:21 +02:00
Luke 038d27089c chore(manifest): bump version 2022-06-17 20:48:07 +02:00
Luke 3034a32955 refactor(dialog/alert): allow defining cancel button
Using the same promise type of API that the input dialog is using, if the user closes the dialog via esc or the cancel button the promise will resolve `cancel` otherwise the promise will resolve `confirm`
2022-06-17 20:30:33 +02:00
Luke 4a20a0c3ff chore(locales): add cancel string 2022-06-17 20:27:38 +02:00
Michur55 ccee5aa9fa feat(locales): Polish language (#42) 2022-06-17 19:03:24 +02:00
PoorLatency e93981fc95 feat(interface/alert): register net event (#41)
Allow the alert dialog to be called from server.
2022-06-17 10:23:56 +02:00
Luke de03da1204 chore(manifest): version bump 2022-06-16 16:31:23 +02:00
Cranksome 27721f9121 feat(locales): German locale(#39) 2022-06-16 16:26:34 +02:00
boostless b086ba1396 Create lt.json (#37) 2022-06-15 22:59:54 +02:00
waddle_dee cd69b97724 feat(locales): Russian translation (#36)
* feat(locales): Russian translation

* oop
2022-06-15 20:24:35 +02:00
Luke 923a76896b fix(web/progress): remove cancelled timeout animation
This is not a fix, it's a workaround, removes the red animation when cancelling due to it causing the progress bar/circle to be permanently stuck
2022-06-14 19:18:28 +02:00
Linden f406cebcc8 refactor(version/server): reliable resource name check
So people can rename resources and pretend they're custom made, without getting an error.
2022-06-15 00:22:03 +10:00
Luke 835151162f refactor(web/dialog): use locale for alert confirm button 2022-06-12 12:29:48 +02:00
Luke 7b6cf6682f feat(web/input): display value when no label is provided for select 2022-06-11 11:59:00 +02:00
Luke a7e2dc0067 feat(web/context): images in metadata 2022-06-11 11:49:25 +02:00
Luke 186014f95e feat(web/dialog): alert dialog 2022-06-11 11:33:15 +02:00
Linden 76fcc007c4 feat(callback): client callback
Allow the client to listen for and respond to server requests.
Basically just copy-paste and swap the two.
2022-06-09 05:18:05 +10:00
Linden c85e9032f9 refactor(callback): rewrite
Register a single net event to handle callback responses (per resource).
Previous implementation registered new events for each callback.
2022-06-09 04:43:37 +10:00
Luke 780371f644 feat(interface/context): onExit function
Allows defining a function in the menu that must be called onExit which is going to execute every time the user exits the context menu with ESC
2022-06-04 14:42:35 +02:00
DokaDoka d2178ca258 fix(interface/context): correct id if a float is received
- the array part of a mixed options table registers a '1.0' and so on, this is not how the option is recorded on the lua side
2022-06-04 22:12:04 +10:00
Linden 6d0f915b00 chore: update version 2022-06-03 15:11:19 +10:00
DokaDoka 9a019d61ed tweak(vehicleProperties): increase timeout when setting properties 2022-06-01 15:09:49 +10:00
Sam Shanks 4cd53eeb1b feat(web/circleprogress): add optional label (#33)
* feat(circle progress label)

* refactor(circleprogress): wrap in flex
2022-05-31 19:30:54 +02:00
Luke 6108016796 feat(interface/context): ability to forcefully hide the context menu 2022-05-30 16:39:02 +02:00
Luke f6c1871e54 fix(interface/context): set openContextMenu to nil when closing a menu 2022-05-30 16:34:13 +02:00
Linden 962e735d6f feat(getCore/server): hasGroup method 2022-05-30 15:43:42 +10:00
Luke d872f5fa5f fix(interface/context): don't hide menu when there is no event 2022-05-29 15:32:38 +02:00
Luke df0750759f fix(web/circleprogress): remove transition
Same as the progress bar, it was causing issues with rerendering when triggering fast
2022-05-29 15:26:25 +02:00
Luke 6194b2cc2c fix(interface/context): increment received option id by one 2022-05-29 15:13:29 +02:00
Linden 2599d2ed80 feat(getCore/server): initialise player module and add getter 2022-05-29 10:33:41 +10:00
Linden 734a6cdc81 refactor(getCore/client): instantiate player
Previously handled by the player module.
2022-05-29 10:33:41 +10:00
Linden eb54fc4675 refactor(player/client): set CPlayer.__index as a function
Match server implementation.
2022-05-29 10:33:41 +10:00
Linden 04beaf1b5a feat(player): add server methods 2022-05-29 10:33:41 +10:00
JsSusenka a5026ed8e9 feat(context): prevent event triggering (#34) 2022-05-28 19:15:35 +02:00
Linden 8aa9ebf41d refactor(player/client): create player instance at init
And minor fixes.
2022-05-28 21:30:17 +10:00
Linden 32709db3cb refactor(getCore/shared): adjust ox_core imports 2022-05-28 21:28:23 +10:00
Linden 3bb946001b refactor(init): separate global and local cache
Store temporary data in the _cache local, separate from the global cache.

This allows constants and other values to be added, rather than being
wiped every minute.
2022-05-25 13:28:19 +10:00
Linden df94633998 tweak(interface/progress): invBusy state
For ox_inventory. Also removed an used table.
2022-05-24 15:13:17 +10:00
Dolbajoba 9904256bba Estonian translation (#31) 2022-05-24 15:02:57 +10:00
Luke d3ab996204 chore(web/dialog): remove leftover print 2022-05-21 20:55:52 +02:00
Katoteki 0bc2695791 feat(locales): Balkanic locale (#30) 2022-05-21 20:54:45 +02:00
WarmCube 34af499e79 feat(locales): Slovakia language 2022-05-19 22:38:57 +02:00
IceCubePiso 5df79a3ad5 feat(locales): Czech translation (#27) 2022-05-19 22:16:52 +10:00
Panda 72d8b59f2c feat(locales): Added locales (#25)
Added multiple locales to ox_lib
2022-05-19 21:59:56 +10:00
Linden 84867900eb fix(zones): zone.inside should not depend on zone.onEnter 2022-05-18 01:46:58 +10:00
Linden f24c4f7821 Merge pull request #23 from hyprell/patch-1
Update progress.lua
2022-05-16 04:20:07 +10:00
hyprell 756e6b83d8 Update progress.lua
Scenario start animation plays no matter if playEnter is true or false
2022-05-15 21:16:37 +03:00
Katoteki 98438f9f25 chore(manifest): bump version (#22) 2022-05-15 18:46:01 +02:00
Linden 6fb57eff49 fix(vehicleProperties): store correct extra values 2022-05-14 17:14:49 +10:00
DokaDoka d52d5adac2 fix(zones): debug thickness misalignment and standardize defaults
all total sizes now default to 4
2022-05-14 12:45:50 +10:00