Demetrio
a4d7d17251
Minor fixes and compatibility improvements ( #54 )
2021-10-16 08:32:54 +11:00
Linden
d412efab05
fix(client)? Maybe resolves issue with concealing players
2021-09-01 16:17:05 +10:00
cjosephdc
6427a58ac7
Fix for stuck players ( #45 )
...
Fix the issue where players get stuck after selecting character
2021-08-25 21:38:26 +10:00
Demetrio
5f5b0138f0
feat(chars): enable or disable a specific character of a player ( #43 )
2021-08-21 00:56:48 +10:00
Demetrio
52250d0d49
Dynamic slots ( #36 )
...
* Removed slots configuration
* feature: dynamic slots
* fixes + improvements
* edited core functionality
* added commands for slots management
* added commands english locale
Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com >
2021-08-11 03:31:30 +10:00
Demetrio
248b6e0b92
improvement: configurable character deletation ( #35 )
...
Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com >
2021-08-10 00:54:32 +10:00
Linden
0ec17f081e
fix: Close UI when setting up characters; spawn fallback position
...
- If playerData.coords don't exist then there's an issue with that character
- Instead of erroring out, spawn them at the character selection area
todo: setup default spawn location instead of relying on database
2021-08-02 22:13:36 +10:00
Linden
b5b5f56a2b
Improvement: Set the camera position offset from the entity
...
- Modifying the spawn location would previously require adjusting the camera parameters.
- This, along with the previous camera change, ensures the camera is always facing the ped
2021-07-26 21:22:17 +10:00
Linden
7bf9367135
tweak: Move fadeout check until after the spawnmanager export
2021-07-26 21:10:59 +10:00
Linden
83bae12c0f
fix: Ensure screenfades last long enough to hide transitions; set local variable for finish (new characters)
2021-07-26 21:00:13 +10:00
Linden
9480853f6a
improvement: New players now select skin before teleporting to spawn
...
- This also resolves the bug with esx_skin's camera being zoomed in
2021-07-26 21:00:13 +10:00
Linden
657dcc7728
tweak(client): Modify camera behaviour and positioning
2021-07-26 21:00:13 +10:00
Linden
e7090e6a7d
fix(client): Enable and and right arrow keys while loop is active
...
Due to hidePlayers now waiting until a skin has been set before disabling, these keys are now required.
2021-06-29 19:24:56 +10:00
Linden
c97daae2a9
improvements(client): Hide HUD components while active; refactor
2021-06-29 10:48:01 +10:00
Linden
d6c7e10594
improvements(client): Disable spawnmanager auto spawning
2021-06-28 18:13:54 +10:00
Linden
7332a64ef6
improvements(client): Overhauled most of the character selection and spawning logic
2021-06-27 18:05:50 +10:00
Linden
698397fcb2
tweak(client): Move SetupCharacters Server trigger; added locales
2021-06-27 12:55:54 +10:00
Linden
11dc502acc
tweak(client): Always wait 200ms after esx_menu_default has started
2021-06-26 13:54:54 +10:00
Linden
26b1a6856b
fix(client): Set the player heading when moving to character selection
2021-06-26 05:19:56 +10:00
Linden
b3f236c2e0
fix(client/main): Fix spawn camera offset; set coords to spawn before loading character data; change screen fading
...
Should prevent visual bugs while spawning and hopefully resolve the ESX Menu not appearing once and for all
2021-06-24 18:09:05 +10:00
Linden
fb4c1d1680
tweak(client/main): Increase time before setting up characters
2021-06-24 02:13:39 +10:00
Linden
e3d1fe611a
fix?(client/main): Give esx_menu_default more time to setup before creating a menu
2021-06-23 19:27:02 +10:00
Linden
8288fe6d42
fix(client/main): Maybe fix invalid skin
...
Have no idea why the Character index skin wouldn't be set already
2021-06-18 10:41:39 +10:00
Linden
8821e803bf
fix(client/main): Trigger the restoreLoadout event
2021-06-16 10:49:54 +10:00
Linden
7a7c14e57e
fix(client/main): New characters should no longer be invisible
2021-06-10 12:02:54 +10:00
Linden
6af6edaa11
refactor+fixes(client/main): Ensure all cameras are destroyed; improved spawning "jitter"
2021-06-05 11:19:00 +10:00
Linden
9df67578bb
tweak(client/main): Remove no collision (falls through world); set player as invincible
2021-05-31 19:29:58 +10:00
Linden
f888ad157b
improvement(client/main): Players are now invisible and have no collision while on character selection
2021-05-31 19:24:13 +10:00
Linden
aa4c68567f
fix(client/main): Spawning fix with new characters
2021-05-28 11:38:59 +10:00
Linden
8427ff7185
fix(client/main): Use skin table size instead
2021-05-28 05:26:30 +10:00
Linden
aca2a00d0a
fix(client/main): Check if skin is defined, else if skin does not have a second key
2021-05-28 05:20:47 +10:00
Linden
cc4b8dba68
improvements(client/main): Clean the code for assigning player model and skin; trigger the esx_skin menu when player has no skin
2021-05-28 04:39:58 +10:00
Linden
13324ad2eb
fix(client/main): Prevent black screen when players decide not to have a skin
2021-05-27 18:07:52 +10:00
Linden
b85a933af0
fix(client/main): Require esx_menu_default to have fully started
2021-05-27 03:25:26 +10:00
Linden
1a0ce58ece
fix(client): Enable more control actions for people using modified ESX menu
2021-05-24 03:16:52 +10:00
Linden
ceaf32bd80
fix(client): Prevent player from spawning without a model
2021-05-23 23:00:03 +10:00
Linden
47299fbb71
improvements(client); Initial character spawn should be smoother; moved initial spawn; set player model based on skin sex and not gender
2021-05-23 06:01:55 +10:00
Linden
f27a94ef71
improvement(client): Conceal vehicles while selecting character
2021-05-23 05:12:49 +10:00
Linden
c7f207cbe1
improvement(client): Moved relog command to client with some limitations
2021-05-22 17:48:23 +10:00
Linden
964dcb3ec9
fix+feat(client): Utilise the slot config; resolved issue creating menu when characters are non-sequential
2021-05-21 07:23:43 +10:00
Linden
ed428b488a
fixes(client): Resolve issues with character selection, deletion, and new characters
...
- Disable controls while on character select
- Disable NUI if there are no characters
- Set the players skin after deleting a character
- Set the default ped appearance when creating a new character
2021-05-21 05:39:03 +10:00
Linden
2e81884550
chore(client+nui); Add support for locales; modify character info appearance
2021-05-21 03:17:23 +10:00
Linden
81ec225ded
feat(client): Enable NUIMessage
2021-05-21 02:23:08 +10:00
Linden
f81ed024cf
feat(rewrite/client): Overhauled spawning logic and character selection
...
- Utilise spawnmanager for character selection and spawning
- Removed old character selection interface, opting for the easily scaleable ESX Menu
- Player concealment while selecting a character
- Improved character registration and loading player skin
2021-05-20 22:50:02 +10:00
Linden
eb1eb98376
fix(client): Properly fade screen in/out when loading UI
2021-05-17 21:05:42 +10:00
Linden
837fd4e9a5
improvements(client): Conceal the player during character selection; ensure loading screens are disabled
2021-05-17 20:28:09 +10:00
Linden
cdfcb1ebe7
feat: Support logging out to character select
2021-05-17 02:04:46 +10:00
Linden
5d3f2884dc
Begin rebranding (refactor+rewrite)
...
- Kashacters events renamed
- Update MySQL.Async queries to modern standards and remove string concatenation
- Rewrote `GetPlayerCharacters` to only use relevant information
2021-05-17 01:21:11 +10:00
Linden
a3fbf7934b
Update main.lua
2021-05-13 05:02:04 +10:00
Linden
f666dcb6ea
Move playerSpawn event triggers
2021-05-13 03:01:12 +10:00