Commit Graph

14 Commits

Author SHA1 Message Date
Mycroft 498f623bc5 Update main.lua 2022-02-05 13:49:01 +00:00
Mycroft 636d03668a Put the reviveall command into ESX_Ambulancejob 2022-02-01 00:21:31 +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
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
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 11d3c2384e fix(esx): Loop SavePlayers as intended
FML
2021-09-09 23:18:19 +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 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 ace2718a49 chore(esx): Update readme and version 2021-07-03 02:56:08 +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