Commit Graph

46 Commits

Author SHA1 Message Date
Benzo b623a56a56 fix(es_extended/functions.lua): fixed notify wrong format 2022-09-16 01:40:16 +02:00
Benzo 425723f84c Merge branch 'main' of https://github.com/esx-framework/esx-legacy 2022-09-15 21:27:08 +02:00
Benzo 08bc2e81d0 refactor: removed native notify 2022-09-15 21:27:05 +02:00
Mycroft b6241e194c fix(es_extended): Better Handing Of Onesync Spawning 2022-09-12 18:52:33 +01:00
Benzo 69306621a8 feat: es_extended ESX.RefreshContext
added ESX.RefreshContext so we wont need to use the export
2022-09-11 03:55:57 +02:00
Mycroft 9834a78f6d feat(es_extended): Support For Custom Xenon Colours 2022-09-09 17:33:38 +01:00
Mycroft 1ded3628bf tweak(es_extended): better error message for context issues 2022-09-06 03:13:15 +01:00
Mycroft 7b3cd15254 fix(es_extended): fix liverys not saving/loading 2022-08-31 14:08:59 +01:00
Mycroft c6e1835a55 tweak: es_extended -> better esx textui error handling 2022-08-30 15:46:53 +01:00
Mycroft 1906306df1 tweak: all resources - replace GetHashKey with backticks and joaat
improves performance :)
2022-08-30 14:50:18 +01:00
Mycroft a40eaf9e8c tweak: es_extended - code cleanup 2022-08-30 14:31:44 +01:00
Mycroft 145815c982 refactor: better handling of accounts + performance tweaks 2022-08-28 18:31:16 +01:00
feelfreetofee 7dbbe28a53 fix(es_extended/client/functions.lua) Livery Mod Get/Set-VehicleProperties
Natives "GetVehicleLivery" and "SetVehicleLivery" doesn't work anymore.
Replaced broken natives in "ESX.Game.GetVehicleProperties" and "ESX.Game.SetVehicleProperties" with "GetVehicleMod" and "SetVehicleMod" with modType 48
2022-08-20 19:49:02 +02:00
Mycroft f891d682e4 temp fix for vehicle ownership 2022-08-20 14:07:10 +01:00
Mycroft 16c747fc2a make sure the vehicle exists on the client 2022-08-11 19:54:02 +01:00
Mycroft ef8fde3026 fix: wait for vehicle on server instead of client 2022-08-11 18:23:13 +01:00
Mycroft 4eb998b0e5 better oneysnc infinity support 2022-08-10 06:14:08 +01:00
Mycroft 24fc76097d feat: es_extended - basic Onesync infinity support 2022-08-07 09:43:34 +01:00
Benzo 4f1f3f0442 feat - esx_context functions 2022-07-19 23:09:39 +02:00
Benzo 712dc307ab feat - ESX.RegisterInput 2022-07-19 22:43:24 +02:00
Mycroft 7a53a19c1b Formatting + Boat Fixes 2022-07-04 20:40:24 +01:00
badfantomasss 12487a07e2 tweak(ESX): Added RemoveAnimDict after TaskPlayAnim 2022-06-05 21:17:41 +02:00
izMystic 2b4a2071d5 udpate(notify): allow passing type/length 2022-05-08 08:23:55 -04:00
izMystic 7b90018930 feat: esx_textui 2022-05-07 16:24:32 -04:00
Mycroft 08be3595f0 fix modLivery not saving 2022-05-04 21:43:48 +01:00
Mycroft 2451e78518 Feat(es_extended): save vehicle windows, doors and tyres 2022-05-04 18:47:50 +01:00
Mycroft e0e54f144d Update 1.7.0 pre-changes 2022-04-29 15:59:38 +01:00
Benzo 4632747c1f esx progressbar function 2022-04-28 18:28:00 +02:00
Benzo 1308b02af5 spelling error 2022-04-26 18:18:43 +02:00
Benzo a643c70dcf fixes 2022-04-26 17:35:26 +02:00
Benzo fa43d3c59d Update functions.lua 2022-04-26 17:34:22 +02:00
Benzo 8aceb0493d notification function 2022-04-26 17:31:14 +02:00
tr1ckz 905d8cdad0 Add RGB support and fixed liveries
Add RGB support and fixed liveries
2022-04-20 18:15:39 -04:00
Demian Vonk 215c3532d8 Fixed better performance wise table.insert method 2022-02-22 17:24:02 +01:00
Linden d5661c1a9a refactor: use function syntax
Better and less confusing.
2022-02-14 16:05:14 +11:00
Linden b82b3246a4 feat(esx/client): add a function to search for items
Deprecate the usual method of manually iterating through 'ESX.GetPlayerData().inventory'.
2022-02-14 15:30:51 +11:00
Linden 31b7252101 fix: undefined variables, args, indexes, etc. 2022-02-14 14:17:54 +11:00
Linden b72e1e0b04 refactor: update native references
Many natives have updated / more accurate names.
2022-02-14 13:42:43 +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 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 5245e1c4af refactor(esx): Reduce the sleep on TimeoutCallbacks 2021-07-06 09:01:26 +10:00
Linden ac5e7256de improvement(esx): Replace entity iterator with GetGamePool natives 2021-07-04 05:01:09 +10:00
Linden e3113ab7f9 improvement(esx/client): Send both new and old value of playerdata with event; properly set job/grade display for hud
- Makes the event a viable alternative to esx:setJob as we can compare if the value has changed.

- Formatting for job/grade would not update when going to or from unemployed
2021-06-26 03:49:21 +10:00
Linden 7c3e817cfa chore: Reorganise directories; include a sample server.cfg 2021-06-25 21:34:28 +10:00