Commit Graph

30 Commits

Author SHA1 Message Date
Linden
5fb16444e6 refactor(client/progress): minor adjustment to duration check 2025-03-13 18:58:44 +11:00
Linden
12ef8e542f fix(client/progress): check duration 2025-03-10 11:50:00 +11:00
Noah
93e40acb31 fix(client/progress): playEnter arg for scenarios in progress bar (#671) 2025-01-17 18:26:00 +11:00
xHorntail
9649ffaf67 refactor(interface/progress): allow rotation order for created props (#564) 2024-05-08 04:28:10 +10:00
RexshackGaming
113f5227e5 fix(interface/progress) don't use RegisterKeyMapping for redm(#560)
stop redm error as RegisterKeyMapping does not exist
2024-04-27 15:35:23 +02:00
Andy
0e00ff57ff refactor(client/progress): sync props with statebags (#515)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-03-19 18:01:23 +11:00
ANTOND
591fb022f9 feat(interface): add locales for progress and radial menu (#509) 2024-03-16 04:41:06 +11:00
Abdelouahed TOUIMI
abb2868bae feat(interface/progress): add allowSwimming option (#516) 2024-03-16 04:34:11 +11:00
iSentrie
4c8b3a8636 feat(client/progress): disable sprinting (#473) 2023-12-24 16:09:12 +11:00
Linden
89c0668985 refactor(client/progress): reduce Wait in progress queue 2023-05-05 14:55:03 +10:00
Linden
878763867a refactor(client/progress): don't clear progress on cancel
Sending "progressCancel" to NUI will cause a transition and then
trigger "progressComplete" with a slight delay (~100ms).

Should look better when people queue up progress bars.
2023-05-05 14:51:52 +10:00
Luke
b56e6826a8 Merge branch 'v3' 2023-02-17 15:54:20 +01:00
Linden
97d5bd6ac0 fix(client/progress): anim task/scenario check
Correct behaviour from pull request #208.
Include some refactoring to reduce repetitive  table indexing.
2023-02-03 13:25:30 +11:00
JnKTechstuff
bd91dd81ab refactor(client/progressbar): better animation cancelling (#208) 2023-02-03 13:22:51 +11:00
Linden
f9a6d8ca8b refactor(client/progress): allow all progress bars to be cancelled
canCancel should really only apply to user-input.
2023-01-27 21:42:13 +11:00
Linden
d9511231b1 refactor(client/progress): move controls outside of function 2022-12-06 13:33:04 +11:00
Scully
231d1c3c77 feat: improved RedM support (#162)
* Improvements + remove redm keybind system as it's pointless
2022-11-26 13:05:55 +11:00
Linden
00c2086072 refactor(streaming): convert to modules
Import methods rather than call via exports.
2022-11-21 21:39:05 +11:00
Linden
6254ba9ba2 refactor(resource/interface): formatting and type definitions 2022-09-18 09:06:32 +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
4578d54c5e fix(client/interface): progressbar props not deleted
Somehow, calling DetachEntity before DeleteEntity results in the
entity not being deleted (when oal is enabled).
Fortunately we don't need to detach it before deleting.
2022-08-23 04:30:58 +10:00
Jag
c6250b6d5a feat(client/progress): add interrupt options (#70)
Add the ability to specify if an action can be interrupted. Options that I've thought of off the bat are ped going ragdoll or ped being handcuffed.

Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2022-08-16 17:22:05 +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
Linden
df94633998 tweak(interface/progress): invBusy state
For ox_inventory. Also removed an used table.
2022-05-24 15:13:17 +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
Linden
bf792004e9 fix(interface/progress): check for data.disable.move 2022-04-25 13:31:59 +10:00
Linden
26fe012b55 refactor(interface/progress): disable controls
Last implementation was basically copied over from ox_inventory which used
the control actions wrapper; somewhat pointless in this case.
2022-04-22 14:32:40 +10:00
Linden
9a3b17029f refactor(resource/interface): keymapping and multi-prop support
Prop data should support a single table or an array for multiple
props.
2022-04-14 13:47:56 +00:00
Linden
aaab5798c0 feat(resource/interface): progressActive and cancelprogress command 2022-04-14 13:11:51 +00:00
Linden
0227bd11a6 feat(resource/interface): progress bar 2022-04-14 06:45:48 +00:00