Commit Graph

4257 Commits

Author SHA1 Message Date
Linden dbb7da7755 fix(esx): save player loadout 2022-01-19 20:58:20 +11:00
Linden 98b0d2b4b1 fix(policejob): misplaced )
Also renamed nl localisation file to .sql because that's what it is.
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 ed6d2b3b14 chore: include database.sql
Full database dump for easy setup.
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 138fdcc7ad refactor(status): various changes
Replaced mysql-async.
Resolved bug with the getStatus event.
Replace bulk query with prepared statement.
Minor optimisation tweaks.
2022-01-17 04:59:37 +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
Naifen || Developer c467bde7ed Update README.md | Copyright 2022 2022-01-13 00:40:36 +01:00
FuraXx 3b05a12e48 Merge pull request #42 from etherealth/patch-1
fix weapon_combatmg_mk2 Locales['en']
2022-01-13 00:03:05 +01:00
FuraXx dc909b2994 Merge pull request #49 from xrtw/patch-1
noo need
2022-01-12 23:37:38 +01:00
FuraXx 79770cdacd Merge pull request #25 from Konraaaad/patch-2
update esx billing de.lua
2022-01-12 23:32:24 +01:00
Naifen || Developer 931bbbafe2 Reworked | ESX Billing de.lua 2022-01-12 20:06:49 +01:00
FuraXx 4c76499e0f Update README.md 2022-01-12 16:03:22 +01:00
FuraXx b99d4afaa4 Update README.md 2022-01-12 16:03:03 +01:00
xrtw e35e4d1237 the f** its still there? 2021-11-21 22:40:27 +02:00
ethereal e92d3e30df fix weapon_combatmg_mk2 locales
remove duplicate Locales['en'] key
2021-11-01 22:58:39 +07:00
FuraXx 8153f6a922 Merge pull request #28 from thelindat/main
fix(esx): Loop SavePlayers as intended
2021-09-28 22:13:00 +02:00
Linden 11d3c2384e fix(esx): Loop SavePlayers as intended
FML
2021-09-09 23:18:19 +10:00
Konrad 79bc96a623 update esx billing de.lua 2021-08-17 18:55:34 +02:00
FuraXx cae7d8e7fd Merge pull request #12 from Konraaaad/patch-1
update de.lua
2021-08-01 15:59:20 +02:00
Konrad f167f01195 Update de.lua 2021-07-31 23:16:27 +02:00
Konrad a914ff686f Update de.lua 2021-07-31 01:50:58 +02:00
Konrad 5f1ef9ac44 Update de.lua 2021-07-30 22:38:38 +02:00
Konrad b8f8401a2b update de.lua
Updated the German Locale of ESX Holdup
2021-07-29 00:26:38 +02:00
FuraXx e2d86a242c Merge pull request #11 from thelindat/main
Bug fixes for policejob, boat, accessories; version bump for multicharacter; update all license notices
2021-07-28 13:49:18 +02:00
Linden 8560a9438b improvement(multicharacter): Version bump 2021-07-28 21:44:05 +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 1c0f806cda fix(accessories): Add event handler for esx:playerLoaded 2021-07-22 10:27:55 +10:00
Linden 72e26d64e7 fix(police): Add events for playerLoaded/onPlayerLogout; SetTimeout on restart 2021-07-22 10:19:12 +10:00
Linden 97c929946d fix(boat): Variables should not be local 2021-07-21 14:02:03 +10:00
Linden 01b98f055d chore: Modify primary repository license to display esx-legacy 2021-07-15 05:55:39 +10:00
Linden 7a97b3effb Merge branch 'esx-framework:main' into main 2021-07-15 05:53:30 +10:00
Linden 578d2d4ab2 chore: Ensure all license notices display name, year, and author 2021-07-15 05:52:59 +10:00
ESXCrackhead f9d54dfd8f Merge pull request #10 from thelindat/main
fixes: Fix major issue with ESX client function, minor fixes for ESX and status
1.3.0-final
2021-07-13 16:15:26 -05:00
Linden 8c2e390c37 chore(example): Add more function examples; add information to readme 2021-07-12 18:28:27 +10:00
Linden 090965fd8a fix(status/server): Ensure status is defined when saving 2021-07-12 18:25:38 +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
ESXCrackhead 5a6984f0c9 Merge pull request #9 from newt74/main
[esx_holdup] Optimized and fixed bug when the robbery has been canceled.
2021-07-07 15:12:33 -05:00
ESXCrackhead 92cbc0b4f0 Merge pull request #8 from thelindat/main
improvement & fix(esx & garage): Changes to new saveplayers function; draw garage markers correctly
2021-07-07 15:11:13 -05:00
Linden f8d1c69c47 chore(esx): Update readme 2021-07-08 06:07:25 +10:00
Thuan Truong 4783097c69 Update main.lua 2021-07-06 22:07:01 +07:00
Thuan Truong 446bc34a8a Update main.lua 2021-07-06 22:06:20 +07:00
Thuan Truong 19bad179c6 Create config.lua 2021-07-06 22:04:27 +07:00
Linden 4f5794473e tweak(esx): Print affectedRows instead of changedRows for saved players 2021-07-06 09:57:25 +10:00
Linden 8c642ffebc fix(garage): Draw interior markers and correctly enable vehicle engine 2021-07-06 09:03:22 +10:00
Linden 5245e1c4af refactor(esx): Reduce the sleep on TimeoutCallbacks 2021-07-06 09:01:26 +10:00