Commit Graph

4619 Commits

Author SHA1 Message Date
Linden ebafc8bcb4 chore(legacy/version): Update commit version to 1.3.0 2021-05-28 08:09:56 +10:00
Linden 64510560cc Merge branch 'legacy' into multichar 2021-05-28 08:06:05 +10:00
Linden bccca2b8e0 improvement(server/main): Create a stored query for creating new users 2021-05-28 07:45:43 +10:00
Linden 0bfe39d527 refactor(server/commands): Remove sv_restart 2021-05-28 06:05:53 +10:00
Linden b125fa91fc tweak(server/main): Removed leftover print 2021-05-28 05:57:19 +10:00
Linden 2cc58b6e09 improvement(client/hud): Setup a proper function for clearing the hud, instead of sending multiple NUI messages 2021-05-28 05:54:28 +10:00
Linden 20fa7ae52f fix(client/functions): Fix DrawText3D scaling
This was how the function previously worked, minus the rectangle and vector setting.
2021-05-28 05:51:05 +10:00
Linden 8a5cd887ce tweak(server/main): Modify variable names; add warnings when multichar is disabled or not running Legacy; send the identifier prefix to ESX 2021-05-28 05:47:12 +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 67965129f4 fix(client/main): Move events after spawning into the spawnmanager callback; do not skip spawnmanager fade 2021-05-28 05:18:19 +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 7d84e80539 chore(legacy/fxmanifest): List spawnmanager as a dependency 2021-05-23 23:18:16 +10:00
Linden ceaf32bd80 fix(client): Prevent player from spawning without a model 2021-05-23 23:00:03 +10:00
Linden bc13c9d34b feat(server/functions): Add a function to retrieve all xPlayer data
If people need to loop through xPlayers, they should use this
2021-05-23 22:18:27 +10:00
Linden fa6a12866f Update readme.md 2021-05-23 20:38:55 +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 b88930674c chore(config): Set multichar to false by default 2021-05-23 00:05:11 +10:00
Linden e4954e6693 improvement(server/main): Allow setting identity without using multicharacter 2021-05-22 18:04:01 +10:00
Linden 02a8ad23be Update config.lua 2021-05-22 17:48:55 +10:00
Linden c7f207cbe1 improvement(client): Moved relog command to client with some limitations 2021-05-22 17:48:23 +10:00
Linden 651b445f6a improvement(server): Replace relog command to relog with event 2021-05-22 17:45:04 +10:00
Linden aecc6e552c fix(server/common): Fixed check for jobs without grades 2021-05-22 17:13:31 +10:00
Linden b1dade2c47 fix(server): Use the prefix variable when deleting character 2021-05-21 23:02:54 +10:00
Linden 819f5b4372 fix(legacy/server): Store job data in a temporary table until grades have been applied 2021-05-21 21:33:11 +10:00
Linden cf67e47855 Update readme.md 2021-05-21 21:07:34 +10:00
Linden 1079eb0b40 fix(server): Try updating ESX.Jobs after the first player joins
Should resolve the issue with slow queries preventing proper setup
2021-05-21 19:35:57 +10:00
Linden 0703767211 refactor(server): Moved character setup into a function so it can be called from server 2021-05-21 07:25:36 +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 827f2453b5 refactor(command): Remove unneeded variable 2021-05-21 07:14:12 +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 26464aafea fix(locales): Corrected locale name and translation 2021-05-21 05:34:40 +10:00
Linden 2e81884550 chore(client+nui); Add support for locales; modify character info appearance 2021-05-21 03:17:23 +10:00
Linden a6e7868407 fix(nui/js): Format money and bank with grouping and currency type 2021-05-21 02:34:00 +10:00
Linden 81ec225ded feat(client): Enable NUIMessage 2021-05-21 02:23:08 +10:00
Linden 7b20310dd1 Update readme.md 2021-05-21 01:53:56 +10:00
Linden a501d43dbf Update fxmanifest.lua 2021-05-21 01:53:01 +10:00
Linden 95c68918b7 Update main.css 2021-05-21 01:52:39 +10:00
Linden 3e2d955e32 Update app.js 2021-05-21 01:48:05 +10:00
Linden 319889b933 Update ui.html 2021-05-21 01:47:14 +10:00
Linden 73ed11a27c Update readme.md 2021-05-21 01:45:28 +10:00
Linden 008a781985 Update fxmanifest.lua 2021-05-21 00:21:03 +10:00
Linden 017f237e02 Update readme.md 2021-05-21 00:18:36 +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 5bf41ac579 refactor(rewrite/server): Modified events and data being sent to client 2021-05-20 22:43:57 +10:00
Linden c11148c07e feat(rewrite/config): Set spawn location and slot count 2021-05-20 22:40:29 +10:00