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
DokaDoka
14ce365de1
fix(zones): thickness workaround
...
thickness is calculated incorrectly by glm.polygon.contains so this is required until it is fixed
2022-05-14 12:34:12 +10:00
Linden
139ae0701b
refactor(getCore/client): clean up hasGroup method and return values
2022-05-12 07:44:29 +10:00
Linden
4575b5e02a
refactor(player): simplify
...
Was planning to support checking other user playerdata, but will
require much more planning to implement properly.
2022-05-12 07:41:12 +10:00
Linden
5d1f6019c7
feat(getCore/client): load and extend player class
2022-05-12 01:55:21 +10:00
Linden
df8115ea8c
feat(player/client): player class and methods
...
Provide a couple of helper methods (more to come).
2022-05-12 01:55:06 +10:00
Linden
ef4ca56889
refactor(init): return a stub for imports with no return
...
Modules that define globals or directly add several functions to the
lib namespace currently need to return empty functions (i.e. locales).
2022-05-12 00:02:25 +10:00
DokaDoka
6a8ebb5a0d
chore(zones): rearrange variables
2022-05-11 13:38:27 +10:00
DokaDoka
2a1ae2e287
feat(zones): consistent zone debug appearance
...
through merging debugPoly and debugBox
2022-05-11 13:36:36 +10:00
DokaDoka
38dbc2ac34
refactor(zones): create data.triangles even if the polygon is convex
2022-05-11 13:34:06 +10:00
DokaDoka
9b5ac35ab3
refactior(zones): make makeTriangles available outside of getTriangles
2022-05-11 13:29:18 +10:00
Luke
9c7d9c44b7
fix(web/progressbar): fix progressbar getting stuck on screen
...
Chakra's ScaleFade transition was causing the progress bar not to rerender properly
2022-05-10 16:39:05 +02:00
Linden
bc6a6c7a0a
fix: include locales in release workflow
2022-05-10 17:48:44 +10:00
Linden
7a4745c0da
chore(zones): adjust debug rgba
2022-05-10 15:29:07 +10:00
Luke
a784726267
feat(web/context): allow custom metadata order
2022-05-08 13:18:09 +02:00
Luke
62d4812f24
feat(web/context): allow manually sorting the options
...
In order to have the options in the same order as defined, you need to not use keys, instead a normal index table and define the title for the option
2022-05-08 13:00:23 +02:00
DokaDoka
1080efb0cf
fix(vehicleProperties): wait until entity exists before setting vehicle properties
2022-05-08 17:36:17 +10:00
Linden
55bfa7ca3d
refactor(zones): global Zones
2022-05-07 11:47:39 +10:00
Linden
ce3f916c42
refactor(zones): centroid -> coords
...
While centroid is a more accurate term, coords is a little simpler when
writing it a million times.
Prefer to use a single term (sphere was using coords) to simplify API.
2022-05-07 11:19:27 +10:00
Linden
91f52d12c1
refactor(client/locale): send GlobalState.locales to ui
2022-05-06 16:38:36 +10:00
Linden
d4b5e0402c
refactor(server/locale): get array of valid locales
2022-05-06 16:37:36 +10:00
Linden
f6b2df0e75
refactor(locale): default locale
2022-05-06 16:00:40 +10:00
Linden
5f80c55c31
tweak(web/textui): change box style
2022-05-06 15:33:11 +10:00
Linden
d3718622cf
feat(zones): sphere zone
...
It's just a distance check and works exactly like lib.points, with some
minor API changes for consistency.
2022-05-06 14:28:45 +10:00
Linden
4555fa0a22
refactor(zones): call zone:contains instead of zone.polygon:contains
...
Added this function earlier but forgot to include thickness, so
it didn't work.
2022-05-06 14:26:56 +10:00
Linden
96eabf5592
refactor(imports/getCore): set constants and use new import files
2022-05-04 06:33:32 +10:00