Commit Graph

836 Commits

Author SHA1 Message Date
Demetrio
87b08c29c6 feat(client/raycast): allow defining distance (#296) 2023-04-17 14:50:12 +10:00
FjamZoo
33215fa6b5 fix(interface/radial): keep input while open (#288) 2023-04-17 14:43:15 +10:00
Diogo Manuel Coelho Morais dos Santos
e91be47067 feat(streaming): requestWeaponAsset (#264) 2023-04-17 14:21:40 +10:00
Dolu
b035c5aa56 feat(client/addKeybind): add defaultMapper field (#219)
This allow other mapper input like `MOUSE_BUTTON` for example.
See: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/
2023-04-17 14:11:18 +10:00
Justus Braun
631334ac3f chore(locales): Update de.json (#297) 2023-04-13 18:13:12 +02:00
Errorism
dd29f71167 feat(locales): add Thailand(th) locales (#290)
* 🐛 fix nearby error when index was remove

* Update client.lua

* feat(locales): add Thailand(th) locale

---------

Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2023-04-12 21:40:18 +02:00
David Malchin
9f9170eb44 feat(interface/radial): more button if there are more than 8 items (#284) 2023-04-02 11:39:33 +02:00
Manifest Bumper
7b26478cb2 chore: bump manifest version to v3.1.4 2023-04-01 03:26:08 +00:00
Linden
4a7cf75b7f fix(client/radial): reset nui focus on hide 2023-04-01 14:24:42 +11:00
Manifest Bumper
73d2224cf4 chore: bump manifest version to v3.1.3 2023-04-01 00:27:15 +00:00
Linden
389ed5263d fix(server/addCommand): nil command name on error 2023-04-01 11:25:57 +11:00
Arda Dağlıoğlu
b7c32aacba feat(locales): turkish locales (#280) 2023-03-25 13:00:41 +01:00
Romain
17b15c061c chore(locales): update fr.json (#282) 2023-03-25 13:00:21 +01:00
Linden
c4b87a0d91 refactor(client/interface): nui focus consistency 2023-03-23 05:55:16 +11:00
Manifest Bumper
9413f9dae8 chore: bump manifest version to v3.1.2 2023-03-20 21:45:42 +00:00
Malcolm Keefe
b32ab6e948 feat(interface/radial): allow clearing all global radial menu items (#272)
* Add clearAllRadialItems

* Refresh rather then close, rename
2023-03-16 09:26:17 +01:00
Rodrigo Andrade
a98b6ac267 feat(locales): Portuguese language (#271)
Added pt-br locale
2023-03-15 21:08:20 +01:00
Lunar-Scripts
b3b684b389 fix(interface/men): fix cursor being shown in menu (#273) 2023-03-15 21:04:39 +01:00
Manifest Bumper
8d0738969c chore: bump manifest version to v3.1.1 2023-03-10 19:45:08 +00:00
Diogo Manuel Coelho Morais dos Santos
fc6a95c73c fix(interface): Add table<string, string> to icon typings (#261) 2023-03-11 06:38:34 +11:00
Luke
c011d51184 fix(web/input): fix select throwing error when there's no options sent 2023-03-10 20:02:13 +01:00
Linden
367bedd38e fix(fxmanifest): disable unused script paths
Yet to be used; recent fxserver change shows warnings for these.
2023-03-11 05:45:38 +11:00
Luke
548190dbb2 fix(web/alert): fix images escaping container width and height
resolves #265
2023-03-10 19:39:30 +01:00
Linden
280ece8b2d fix(package/radial): missing param 2023-03-07 02:16:03 +11:00
Linden
1c66f3b920 fix(package/radial): missing disableRadial 2023-03-06 17:03:15 +11:00
David Malchin
4a34fa7a90 chore(locales): update russian and hebrew (#260)
* chore(locales): update russian

* chore(locales): update hebrew
2023-03-03 23:32:23 +01:00
Luke
ccce570005 refactor(package): don't run onExit when point is removed in distance 2023-03-02 10:51:02 +01:00
Luke
8b39f630fd perf(package): don't run points interval if there are no points 2023-03-02 10:34:47 +01:00
Luke
b6af7e7166 fix(package): run onExit if point was removed within it's distance 2023-03-02 09:35:45 +01:00
Manifest Bumper
c92575d8e2 chore: bump manifest version to v3.1.0 2023-03-01 17:31:49 +00:00
David Malchin
9c1c784e5d fix(version): match major versions with multiple digits (#259) 2023-03-02 04:30:26 +11:00
Linden
ad2c50cd1d feat(client/radial): add lib.disableRadial to prevent radial access 2023-03-01 07:32:40 +11:00
Linden
3dd996c38b refactor(client/interface): nui focus tweaks
Add helper functions to set nui focus and restore previous input state.
Ensure focus is reset before triggering responses (promises/callbacks).
2023-03-01 07:25:28 +11:00
Linden
284b563483 fix(client/radial): reset NuiFocusKeepInput 2023-03-01 07:04:51 +11:00
Linden
8848f6d6bc fix(client/radial): onSelect export handler
currentRadial is cleared before triggering the export.
2023-03-01 06:48:13 +11:00
Diogo Manuel Coelho Morais dos Santos
053d5d45ec fix(radial): replace global item with same id instead of duplicating (#255) 2023-03-01 06:48:08 +11:00
Diogo Manuel Coelho Morais dos Santos
d72b7eb00a fix(radial): go back to correct more page when going back from sub (#247) 2023-03-01 06:47:14 +11:00
Nuga
bbc1216a54 chore(locales): update et.json (#256) 2023-03-01 06:43:59 +11:00
iSentrie
0a94924c2e chore(locales): update lt.json (#251) 2023-02-27 18:22:09 +01:00
Manifest Bumper
107a94b752 chore: bump manifest version to v3.0.1 2023-02-26 22:12:22 +00:00
Luke
a0ebec5877 refactor(web/context): move inline styling to createStyles 2023-02-26 12:10:51 +01:00
Linden
36d11444fa fix(web/dialog): delay fetch until promise is resolved
Resolves #246; probably needs a better look at.
2023-02-26 12:31:08 +11:00
Luke
c9402bba3f ci(release): update pnpm version
fixes issue with the notification dependency not being patched correctly
2023-02-25 22:22:58 +01:00
Linden
79e91ee452 refactor(client/radial): allow onSelect as string to call an export
e.g. onSelect = 'menuHandler'
exports('menuHandler', function(menu, item) end)
2023-02-26 03:58:05 +11:00
Manifest Bumper
2000654546 chore: bump manifest version to v3.0.0 2023-02-25 16:05:31 +00:00
Linden
29022e1a48 feat(client/radial): return currentMenu and itemIndex onSelect 2023-02-26 01:59:01 +11:00
Luke
60e3a12033 Revert "fix(web/radial): go back to correct more page when going back from sub"
This reverts commit 709d512422.
2023-02-25 15:37:13 +01:00
Luke
6e1a978038 fix(web/radial): check whether radial menu was closed during transition
Closing the radial menu during the transition from the more pages would cause the menu to be stuck open
2023-02-25 14:30:54 +01:00
Luke
709d512422 fix(web/radial): go back to correct more page when going back from sub 2023-02-25 14:15:27 +01:00
Linden
b3b49b1cbd fix: missing and invalid types and parameters 2023-02-25 18:20:14 +11:00