Commit Graph

247 Commits

Author SHA1 Message Date
Linden ef87a916ac fix(client): Entity coords should no longer set you into the ground 2021-10-16 08:34:14 +11:00
Demetrio a4d7d17251 Minor fixes and compatibility improvements (#54) 2021-10-16 08:32:54 +11:00
Linden 54245704c5 fix(sql): Add disabled user column back and change to TINYINT
- Accidentaly removed it; change this to TINYINT for consistency
2021-10-16 08:31:45 +11:00
Linden a1cb26da5d feat(sql): Setup proper keys and collation
- These fields should only be referenced, so index them for faster queries
2021-10-16 06:37:34 +11:00
Linden 1984ef58a5 Update readme.md 2021-09-03 19:46:30 +10: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
IceCubePiso 6925f91a1e Update cs.lua (#44) 2021-08-21 03:06:47 +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 e65a4cb181 Italian language support + Doc for dynamic slots and minor improvements (#37)
* Added Italian language support + usability improvements

* cleaner sql file

Co-authored-by: d3rp-jsx <15928886+derp-jsx@users.noreply.github.com>
2021-08-11 09:33:40 +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 9dbe1c5cbe fix: Ensure character is deleted on the server before refreshing client 2021-07-26 21:00:13 +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 5f142f6d1f chore: Update screenshot in readme 2021-07-26 20:42:00 +10:00
Linden 861dfcda88 Update main.lua 2021-07-21 13:30:44 +10:00
Linden 5dcae7c4c5 Update readme.md 2021-07-09 19:39:15 +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 f3eb335547 refactor(server): Should be using Async here 2021-06-28 18:54:50 +10:00
Linden d6c7e10594 improvements(client): Disable spawnmanager auto spawning 2021-06-28 18:13:54 +10:00
Linden b081008863 improvements(client): Fix nil value; overhauled most of the character selection and spawning logic 2021-06-28 00:27:34 +10:00
Linden 7332a64ef6 improvements(client): Overhauled most of the character selection and spawning logic 2021-06-27 18:05:50 +10:00
Linden 7acd7bc5a0 feat(server): Set VARCHAR(60) automatically; improvements to SQL.ready functions 2021-06-27 13:29:11 +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 482139aa4a fix(server): Display the correct job/grade for each character 2021-06-26 13:44:56 +10:00
Linden e9885a22f2 improvement(server): Changed method to retrieve ESX.Jobs; do not define grade if unemployed; use ESX import for server 2021-06-26 05:30:57 +10:00
Linden 26b1a6856b fix(client): Set the player heading when moving to character selection 2021-06-26 05:19:56 +10:00
Linden 8f5351a3ce Update readme.md 2021-06-24 18:09:31 +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 17abe2d7bb fix(config): Set the spawn coordinates properly to prevent floating characters 2021-06-24 18:05:13 +10:00
Linden 57428a0896 Update readme.md 2021-06-24 02:15:56 +10:00
Linden fb4c1d1680 tweak(client/main): Increase time before setting up characters 2021-06-24 02:13:39 +10:00
Linden 7ff0efea21 Support for ESX Legacy 1.3.3
* improvement(server/main): Moved registration event handler out of ESX (support for 1.3.3)

* refactor(server/main): Increase allowed length for charid to 2

* Update fxmanifest.lua
2021-06-24 02:12:48 +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 7efcae8ed5 Update readme.md 2021-06-23 11:30:05 +10:00
Linden 2bf6634710 Update fxmanifest.lua 2021-06-23 03:27:00 +10:00
Linden 59b5ea85fd chore(server/main): Add a delay before printing about multicharacter being disabled; print twice 2021-06-22 12:46:49 +10:00
Linden 5b27a53507 Update readme.md 2021-06-22 10:53:01 +10:00
Ali 252a987798 Turkish translation implemented. (#15)
* Create tr.lua

* Create tr.js
2021-06-21 14:33:26 +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 273c333cfe fix(server/main): Check if job/grade exist 2021-06-18 10:37:13 +10:00
Linden 11fa70ac54 Update config.lua 2021-06-16 11:44:36 +10:00
Linden dbb8444daa Update readme.md 2021-06-16 11:06:34 +10:00