Commit Graph

8 Commits

Author SHA1 Message Date
Linden dbb7da7755 fix(esx): save player loadout 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 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 4f5794473e tweak(esx): Print affectedRows instead of changedRows for saved players 2021-07-06 09:57:25 +10:00
Linden c12e03210a improvement(esx): Report the number of saved players and time spent 2021-07-06 00:26:18 +10:00
Stephen York 093066486b Optimised player save data function 2021-07-03 16:55:07 +10:00
Linden 959e62a50e improvement(esx): Allow retrieval of ESX.Players with specific data 2021-07-03 02:55:53 +10:00
Linden 7c3e817cfa chore: Reorganise directories; include a sample server.cfg 2021-06-25 21:34:28 +10:00