Christopher
96aa7107ba
feat(camera): disable camera mode
2021-08-02 11:58:25 +02:00
chip
1253c76aef
Feat/refactor matchmaker promise format ( #293 )
2021-08-01 00:26:10 +02:00
Taso
5263a83d1f
fix(calls): Fix incorrect data type being sent over net
2021-07-29 20:29:27 -04:00
Taso
af6e291368
fix(calls): fix some bugs encountered during refactor
2021-07-28 14:26:01 -04:00
Taso
36d1e993bd
refactor(calls): refactor of call architecture
2021-07-28 14:26:00 -04:00
Taso
d648b21d3b
tweak(phone): update old NuiCallbacks with new wrapper func
...
Also switches old Nui.send() calls with fetchNui on focus input control
2021-07-27 23:08:40 -04:00
Taso
fc939885a8
feat(config): configure an export to be called at toggle to control phone access
...
Can serve as a primitive form of access control that can for example call a client side inventory check
2021-07-27 23:06:13 -04:00
Taso
b00bee0217
chore(client/animation-service): shut eslint up about explicit types
2021-07-27 22:40:59 -04:00
Taso
16626db5bd
cleanup(photos): A general cleanup of photos
...
Removes legacy code no longer in use or cleans up code to use new type safe native wrappers
2021-07-27 22:39:18 -04:00
Taso
83ec915926
perf(client/controls): global -> local ref optimization
2021-07-27 17:49:47 -04:00
Christopher
68d2e66d16
chore(phone): minor changes
2021-07-27 17:04:29 -04:00
Christopher
4e8c57492b
feat(camera): refactor to new promise event format
2021-07-27 17:04:28 -04:00
Taso
f9956a15a8
fix(scripts/client): fix wrong response format struct on promise reject
2021-07-06 23:58:30 -04:00
Dillon Skaggs
104fda2c11
feat(global): major fixes...i dont even know that to call this commit so ill just say its global. Who even cares
2021-07-06 23:10:47 +02:00
Dillon Skaggs
398bfa2092
feat(): add animation and call service & controllers ( #259 )
...
* feat(): add animation and call service & controllers
- run animations on interval so we don't lose animations when walking through doors
- move cl_call.ts to a class
* fix(animation/service): make everything private except for open/closePhone and start/endPhoneCall
2021-07-06 23:02:55 +02:00
Taso
44a9595463
refactor(notes): Refactor to new promise event format
2021-06-08 23:10:16 -04:00
Taso
5e225ca736
tweak(marketplace): Tweak marketplace to match current fetching std
2021-06-08 16:35:41 -04:00
Taso
3df2f88759
refactor(server/marketplace): Refactor to use promise events
2021-06-08 15:46:57 -04:00
Taso
4afa9c691b
refactor(phone/marketplace): Refactor state management and fetching
2021-06-08 15:46:39 -04:00
Taso
d036243d64
refactor(contacts): Refactor contacts to efficient data fetching
2021-06-08 14:58:05 -04:00
Taso
f1012958e2
chore(resources): General Linting
2021-06-08 12:36:10 -04:00
Christopher
478c5ffc63
fix(calls): handle invalid numbers
2021-06-05 19:19:30 +02:00
Taso
fed042aea7
tweak(client/utils): Add and tweak various fetch utils for refactor
2021-06-04 10:47:25 -04:00
GoatGeek
ebe8c67369
feat: added lua linting github action ( #252 )
2021-06-03 12:16:11 -04:00
Jan Lecoutere
870aeda3c3
Disable walking when an inputfield is focused ( #234 )
...
* feat(phone) Disable walking when an input is focused
* refactor(phone) renamed var & replaced copy paste code
Instead of copying the code it now uses a custom hook
* refactor(phone/input): removed useMemo from hook
* style(phone/input): changed indentation to spaces & added de-structured import
2021-05-24 12:22:00 -04:00
Christopher Gjelten
e05f543cb0
Fix: Player ready stuff ( #241 )
2021-05-23 15:34:17 +02:00
RockySouthpaw
a103ef9b2f
FIX: Prevent crouch when pasting into phone.
2021-05-22 01:19:35 -04:00
Christopher
fb32aaef15
fix(phone): only listen to UI Ready
2021-05-21 00:35:05 +02:00
Dillon Skaggs
2411c39b95
Fix double call history & adding contact from history ( #231 )
2021-05-20 23:54:01 +02:00
Dillon Skaggs
488c8df5cb
feat(client/call): make pma-voice the default export ( #232 )
...
- mumble-voip is no longer maintained and is recommended to not be used.
2021-05-20 14:43:28 -04:00
Christopher
054f89c03d
fix(phone): fixed?
2021-05-20 18:29:01 +02:00
Christopher
2f0f83a17e
fix(resources): load config when player spawns
...
this is a solution for standalone
2021-05-20 16:42:34 +02:00
Christopher
d279b31b8f
chore(phone): remove useless sendMessage
2021-05-18 13:13:31 +02:00
Christopher
f89ffc3060
fix(init): remove player/ui ready events
2021-05-16 02:20:17 +02:00
Christopher Gjelten
0134b9052c
Merge branch 'master' into cleanup/config
2021-05-16 01:57:30 +02:00
Christopher Gjelten
951ed914d5
Merge pull request #212 from project-error/feat/keep-input
2021-05-14 02:29:37 +02:00
Darrian
d5aaa67c6c
Fix: Removed net event.
2021-05-12 02:38:11 -04:00
Christopher
b92cf0d6fa
fix(resources/messages): fix coercion comparsion
2021-05-09 15:15:20 +02:00
Christopher
fd6afa927c
fix(resources/notes): fetch notes after adding
2021-05-04 17:48:24 +02:00
Darrian
000151e756
Fix: Disable additional controls.
2021-04-22 13:24:23 -04:00
Darrian
80d2d5476a
Fix: Additional disable controls for vehicles + chat.
2021-04-22 12:59:49 -04:00
Darrian
95ed68dff6
RFR: Renamed file, adjusted manifest, and refactored code.
...
Renamed the event so its more clear what it does and added a bool to denote when it's being disabled or not. This was attached to `isPhoneOpen` which wasn't reliablly working. Its now done within `showPhone` and `hidePhone`.
The wait was changed from `1000` to `100` in the event the phone is opened before the wait is over. Makes it more smooth as there is no longer a small duration where the mouse moves the camera.
Removed the enable of control actions as it wasn't needed.
2021-04-22 12:32:10 -04:00
Taso
478d4d4519
fix(client/twitter): Fixed profile fetch
2021-04-18 15:38:51 -04:00
Taso
8af7530f18
fix(server/notes): Temporarily use old resp format
2021-04-18 15:38:51 -04:00
Taso
caf42c9c8a
fix(client/calls): Fix call history not fetching properly
2021-04-18 15:38:51 -04:00
Taso
c94c69c646
refactor(server/contacts): Implement singleton architecture
2021-04-18 15:38:51 -04:00
Taso
0bb20fff31
refactor(server/notes): Implement singleton architecture
...
Also trying something out with the response structure on the server to cut down on redundant calls.
2021-04-18 15:38:51 -04:00
Taso
949ea4ba4b
tweak(player): Altered PLAYER_IS_READY event to emit a bool
...
This will set the client var to true when NPWD loads a player and false when NPWD unloads a player.
2021-04-18 15:38:50 -04:00
Christopher
1c69cd5e2e
keep input
2021-04-16 09:10:10 +02:00
Taso
dd3eac4a0e
tweak(config): Config var & send as event method
...
config -> ResourceConfig for readability and the resource config in NUI is now being referenced consistently from state so it can be referenced at runtime and not compile time.
Also removes the need to copy the config before using `cp`
2021-04-13 22:07:22 -04:00