Commit Graph

19 Commits

Author SHA1 Message Date
Mycroft 449ef36879 feat(es_extended): ServerCallbacks now invoking aware 2022-09-23 00:28:48 +01:00
Mycroft 663a84ca9a tweak(es_extended): Uniform prints 2022-09-22 23:55:44 +01:00
Mycroft f289e42340 tweak(es_extended): better prints + esx:getSharedObject deprecation
https://docs.esx-framework.org/tutorials/sharedevent
2022-09-18 05:55:56 +01:00
Mycroft 3d569b3e9a es_extended -> formatting 2022-08-31 15:17:28 +01:00
Mycroft ef6b66ab3e refactor - es_extended - PlayerOverride Functionality 2022-05-22 18:32:43 +01:00
poppoexpress d72a09d3d4 Missing space 2022-04-25 09:36:28 +08:00
ZF 98c8b40114 Code Correction
- Changed onduty for onDuty (CamelCode)
- Event now uses bool instead of state arg.
- Unemployed is now off-duty (doesn't change the paycheck).
2022-03-23 09:14:22 -04:00
ZF 42d4d6276b Fix default onduty state of unemployed. 2022-03-18 19:35:21 -04:00
ZF 36ac7ef2d1 New OnDuty System for jobs.
- Added a setDuty event.
- Added a job.onduty data.
- Default onduty is false at connection and creation of the user, job change.
- Added a esx:toggleDuty event to change the state of the duty.
2022-03-18 19:15:48 -04:00
Linden 7edbd07ae7 feat: setup basic support for ox inventory
Fairly low effort to get the the basics working.
2022-02-18 00:22:49 +11:00
Linden 956324063e chore: update fxmanifests
1.5.0
2022-02-14 15:34:14 +11:00
Linden a1cfd5f84e fix(esx/server): race condition
Use await on queries during startup for less nesting / callback hell, and to delay the paycheck and save intervals from starting too early.
2022-02-14 15:29:42 +11:00
Linden 31b7252101 fix: undefined variables, args, indexes, etc. 2022-02-14 14:17:54 +11:00
Mycroft 8dd3abd872 Refactors and fixes
refactor: Remove Citizen. (Wait And CreateThread)(All resources)
feat: Add KeyMapping to taxijob and sit (Removes pointless Threads)
fix: vector coords bug
feat : Add txAdmin support into basicneeds (server.lua)
Change: ESX Whitelist config from 0 minimum to 10
fix: Start Changing IsDead to ESX.GetPlayerData().dead
fix: Add a sleep to Identity
2022-02-11 00:31:23 +00:00
Mycroft e594183807 Update 1.4.1: bug fixes
Fixed Ambulancejob, Fix giving Items,Start Replacing `GetDistanceBetweenCoords` with Vector Maths
2022-02-05 18:19:14 +00: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 7c3e817cfa chore: Reorganise directories; include a sample server.cfg 2021-06-25 21:34:28 +10:00