Commit Graph

53 Commits

Author SHA1 Message Date
Mycroft 498f623bc5 Update main.lua 2022-02-05 13:49:01 +00:00
coookie1010 099216a370 Fix missing queries data 2022-02-04 09:58:50 +08:00
BagusCodeStudio 5f6909badc Fix typo causing data not saving 2022-02-02 10:51:56 +07:00
Mycroft d2185dfdf2 remove async dependancy from es_extended 2022-02-02 00:52:42 +00:00
Mycroft 47d186e91b change all fxmanifests to use oxmysql 2022-02-01 17:58:45 +00:00
Mycroft 83fa1f5616 change the fxmanifest to use oxmysql 2022-02-01 17:55:55 +00:00
Mycroft 636d03668a Put the reviveall command into ESX_Ambulancejob 2022-02-01 00:21:31 +00:00
Mycroft b42513aa30 Update version.json 2022-01-31 23:38:00 +00:00
Mycroft 59fe60b50e chore: (Change Readme to include new documentaion 2022-01-31 23:33:24 +00:00
FuraXx d4b581c91a Merge pull request #60 from overextended/develop
refactor
2022-01-31 22:09:30 +01:00
Kuuzpp 2bf16f9a1c Update fxmanifest.lua
Changed all locales to one *
2022-01-31 02:54:53 +01:00
Luke 126549c456 Added optional fix for identity UI not appearing
In some cases on a localhost machine, the esx_identity UI would not appear if multichar was disabled. This provides an optional fix for this.
2022-01-24 17:22:42 +00:00
Linden 178533cd4a fix(esx): set default newPlayer query
This query should only be modified when using multicharacter.
2022-01-22 22:00:11 +11:00
Luke 944c3d581f Update fxmanifest to add Spanish Locale 2022-01-21 17:47:08 +00:00
Luke 540dab0848 Merge pull request #34 from VicedDev/main
Translate es_extended/locales to Spanish
2022-01-21 17:46:21 +00:00
Luke d4813bd7c9 Update Esx-Core.sql 2022-01-20 18:05:33 +00:00
Luke 548a684dd1 Update Esx-Core.sql 2022-01-20 17:09:27 +00:00
Luke 2c15f187e6 Add singular SQL file for all core ESX scripts 2022-01-19 15:37:40 +00:00
Linden d42f6b91c0 fix(esx): multicharacter support
Properly support custom multicharacter prefixes.
Disable playerConnecting event handler when using multicharacter.
2022-01-19 21:15:37 +11:00
Linden dbb7da7755 fix(esx): save player loadout 2022-01-19 20:58:20 +11:00
DokaDoka 48ce1b7425 refactor: use oxmysql plus general improvements
refactor(vehicleshop): rewrite PayRent

chore(vehicleshop): enable lua 5.4

refactor(vehicleshop): convert mysql-async to oxmysql

refactor(vehicleshop): improve loops and make functions more generic

refactor(society): convert mysql-async to oxmysql

refactor(lscustom): convert mysql-async to oxmysql

refactor(addonaccount): convert mysql-async to oxmysql

refactor(billing): convert mysql-async to oxmysql

fix(identity): broken locale function

refactor(identity): convert mysql-async to oxmysql

refactor(ambulancejob): convert mysql-async to oxmysql

refactor(datastore): convert mysql-async to oxmysql

refactor(policejob): convert mysql-async to oxmysql
2022-01-19 20:58:20 +11:00
Linden f4d7991b10 refactor(esx): various changes
Minor improvements to spawning.
Moved internal variables out of the ESX namespace.
SavePlayer function now uses a prepared statement.
Replaced bulk SavePlayers query with prepared statements.
Cleaned up newPlayer/loadPlayer queries.
Player load and creation functions use prepared statements.
Removed async dependency.
2022-01-19 20:58:20 +11:00
Linden cc1fd54fb0 refactor(menu): minor optimisation tweaks
It's not much since that would require a rewrite, which is not happening.
2022-01-19 20:57:23 +11:00
Linden 5050e3aa12 refactor: replace mysql-async with oxmysql
additional change: removed esx_multicharacter
2022-01-17 04:57:17 +11:00
Naifen || Developer 0e09d4ad2a Update: Copyright year 2022 2022-01-15 02:19:31 +01:00
ethereal e92d3e30df fix weapon_combatmg_mk2 locales
remove duplicate Locales['en'] key
2021-11-01 22:58:39 +07:00
Broncas 08a56e456c Translate es_extended/locales to Spanish 2021-10-15 20:13:26 +02:00
Linden 11d3c2384e fix(esx): Loop SavePlayers as intended
FML
2021-09-09 23:18:19 +10:00
Linden 99cd701286 refactor+fix(esx/client): Remove checks performed by the function
- Also resolves an issue with ESX.PlayerData.dead never setting as true
2021-07-22 20:38:06 +10:00
Linden 578d2d4ab2 chore: Ensure all license notices display name, year, and author 2021-07-15 05:52:59 +10:00
Linden fe00d9d50f refactor(esx/server): Replace recursive functions with loops; removed functions from the ESX object
These should never be called outside of ESX, so there's no reason to include them
2021-07-12 17:55:42 +10:00
Linden 5fe78d33a3 fix(esx/client): Fix ESX.Game.GetPeds; allow string or hash for ESX.Game.SpawnObject 2021-07-12 17:53:04 +10:00
Linden 140d6e5910 chore: Include resource load order in server.cfg 2021-07-12 17:42:16 +10:00
Linden f8d1c69c47 chore(esx): Update readme 2021-07-08 06:07:25 +10:00
Linden 4f5794473e tweak(esx): Print affectedRows instead of changedRows for saved players 2021-07-06 09:57:25 +10:00
Linden 5245e1c4af refactor(esx): Reduce the sleep on TimeoutCallbacks 2021-07-06 09:01:26 +10:00
Linden c12e03210a improvement(esx): Report the number of saved players and time spent 2021-07-06 00:26:18 +10:00
ESXCrackhead 290b25d72f Merge pull request #7 from thelindat/main
fix & improvement(society & esx): Correct getOnlinePlayers behaviour; update the old enumerate functions
2021-07-05 07:12:58 -05:00
Linden ac5e7256de improvement(esx): Replace entity iterator with GetGamePool natives 2021-07-04 05:01:09 +10:00
Stephen York 093066486b Optimised player save data function 2021-07-03 16:55:07 +10:00
Linden 47a4f90d81 chore(esx): Update readme and version 2021-07-03 02:14:02 +10:00
Linden b931e33b63 improvement(esx): Allow retrieval of ESX.Players with specific data 2021-06-30 21:24:28 +10:00
Linden d64f782d72 tweak(esx): Return GetExtendedPlayers with index instead of playerId 2021-06-29 21:39:55 +10:00
Linden ab21737644 fixes(multichar): Spawn improvements; fix nil value; 2021-06-29 21:29:27 +10:00
Linden 8f6fd761cc feat: Include esx_multicharacter 2021-06-28 20:43:07 +10:00
Linden 105e6c9b8a fix(society): Fix xPlayer loop and callbacks 2021-06-28 19:03:06 +10:00
Linden c10720e26c fix: Correction to xPlayer loops 2021-06-28 16:48:13 +10:00
Linden a17b44b1e7 fix(esx): Disable autospawning
- Fixes compatibility for players running basic-gamemode or maps
2021-06-28 16:35:08 +10:00
Linden bb581f9b6c Merge remote-tracking branch 'esx_multicharacter/master' 2021-06-27 03:43:12 +10:00
Linden 104479eaab feat: Update all resources to version legacy
- Resources updated to use `@es_extended/imports.lua` instead of calling ESX manually

- Replaced all xPlayer loops with ESX.GetExtendedPlayers()

- Reverted NUI chunking for esx_menu_default

- Performance improvements for several resources

- Added events and checks for the player to be loaded for several resources

- Changed all PlayerData tables to use ESX.PlayerData
2021-06-26 13:33:59 +10:00