Commit Graph

6580 Commits

Author SHA1 Message Date
ItsKuf ea14a80fa0 🚀 Enhanced ESX Core Cron Task Handling
Description:
This commit brings substantial enhancements to the time handling functionality in the 'esx_core/[core]/cron/server/main.lua' script for the FiveM server:

- Utilized Unix Timestamps: Replaced the existing `GetTime()` function with `GetUnixTimestamp()`, ensuring precise time representation by using the Unix timestamp format (seconds since January 1, 1970). This change mitigates potential issues related to Daylight Saving Time (DST) transitions.

- Refined Task Execution Logic: The `OnTime` function has been refactored to operate based on Unix timestamps, ensuring accurate execution of scheduled tasks without any inconsistencies due to local time conversions.

By introducing these improvements, the cron-like system now operates with enhanced accuracy, bolstering the stability and predictability of scheduled events on the FiveM server. Extensive testing has been conducted to guarantee compatibility with various server environments.
2023-07-26 09:52:33 +01:00
Jean-Baptiste 2c5b5c92d8 Merge pull request #1113 from esx-framework/dev
🚑 Major fix 1.10.1
1.10.1
2023-07-10 23:41:41 +02:00
Jean-Baptiste f5eb5db5e6 Merge branch 'main' into dev 2023-07-10 23:40:07 +02:00
Jean-Baptiste 815945de5d change version name to 1.10.1 2023-07-10 23:30:14 +02:00
Jean-Baptiste e85f6ed135 versioning changes to comply with conventions 1.10 2023-07-10 23:21:58 +02:00
Gellipapa e89d2adea4 Merge pull request #1112 from TheFantomas/dev
refactor!(es_extended): Fix wheel saving (customWheels)
2023-07-10 22:53:45 +02:00
TheFantomas 9ce6ba1b83 refactor!(es_extended): Fix wheel saving (customWheels) 2023-07-10 22:40:32 +02:00
Gellipapa a2c1ef96d1 Merge pull request #1111 from btwlouis/remove-weapon-rpc
Remove weapon using rpc
2023-07-10 21:46:26 +02:00
btwlouis 5c5b6be5a9 fix: handling playerPed & weaponHash variable 2023-07-10 20:00:28 +02:00
btwlouis f47979917d Update player.lua 2023-07-10 19:38:40 +02:00
btwlouis b744d3f69a fix: move playerPed outside of loop 2023-07-10 19:37:17 +02:00
btwlouis 518d7340d7 fix: move weaponHash outside of loop 2023-07-10 19:35:26 +02:00
btwlouis a2ca81d6ff fix(rpc): .removeWeapon function use rpc natives 2023-07-10 19:07:52 +02:00
btwlouis a63e75cd98 fix(rpc): remove esx:removeWeapon 2023-07-10 19:06:18 +02:00
Gellipapa 6dcf536693 Merge pull request #1109 from 1nexis/patch-1
fixed typo for drift tyres
2023-07-10 17:10:59 +02:00
Gellipapa 23d9c91e90 Merge pull request #1110 from esx-framework/main
 Update dev from main
2023-07-10 17:08:30 +02:00
nexis 4187b709ba Update functions.lua
drift tyres were not working because of a typo
2023-07-10 16:08:22 +02:00
Jean-Baptiste e19bd6617c Merge pull request #1105 from esx-framework/dev
update:1.9.5
2023-07-09 20:40:27 +02:00
Gellipapa c145910630 Merge pull request #1104 from TheFantomas/dev
formatting(all): Format with prettier and lua formatter
2023-07-09 18:41:38 +02:00
Gellipapa 10bfa5811e Merge branch 'dev' into dev 2023-07-09 18:32:22 +02:00
Gellipapa 4bb98a8e0f 🚑 (esx_multcharacter/client) add new keys to enable list by @Arctos 2023-07-09 18:30:09 +02:00
Gellipapa df904a1968 📦 update(esx_identity/sl.lua) Update sl locales 2023-07-09 18:29:05 +02:00
Gellipapa 12bdb769d6 🔧 fix(esx_identit/client) registerNuiCallback cb 2023-07-09 18:28:19 +02:00
TheFantomas 3f535c8e6f refactor(esx_multicharacter): Add new ignored keys > fix esx_skin 2023-07-09 18:26:27 +02:00
TheFantomas 9049c98d76 formatting(all): Format with prettier and lua formatter 2023-07-09 17:00:36 +02:00
Gellipapa 92070525e5 📦 Add format-all and editorconfig. 2023-07-09 01:30:31 +02:00
Gellipapa 860ecbfbc4 Merge pull request #1097 from Mycroft-Studios/patch-4
tweak(readme): general changes
2023-07-09 01:02:39 +02:00
Gellipapa 46ee1ddfce Merge pull request #1100 from Gellipapa/main
fix(esx_core/main.lua, function.lua)
2023-07-09 01:01:12 +02:00
Gellipapa 521dd94c1e Merge pull request #1094 from epyidev/dev
Update fr.lua
2023-07-09 00:38:34 +02:00
Gellipapa 45f13e81e6 Merge branch 'dev' into dev 2023-07-09 00:37:42 +02:00
Gellipapa 332fa8a3d8 ⚰️ Remove ShowInventory method in add,remove inventory trigger 2023-07-08 21:04:30 +02:00
Gellipapa 80b8285db1 📦 Added lot of new stuff GetVehicle,SetVehicle properties
📦 Change extra ID range to 20
📦 RollupWindow in GetVehicleprops
📦 Add bulletprof tyres option
📦 Add vehicle roof livery
:fix: fix modWindows props
📦 replace SmashVehicleWindow to RemoveVehicleWindow
2023-07-08 21:02:07 +02:00
Mycroft 8efbde6abf Update readme.md 2023-07-07 22:01:57 +01:00
Mycroft c6c99980f3 tweak(readme): general changes
looks better imo
2023-07-07 22:00:34 +01:00
Gellipapa 585f99c66f Merge pull request #1096 from Gellipapa/main
fix(es_extended/server/functions.lua) register command issue
2023-07-07 21:41:45 +02:00
Gellipapa e6226d1394 Merge branch 'dev' into main 2023-07-07 21:38:45 +02:00
Gellipapa cfc6a86371 📦 Add new translate text
handle string value is only string not accepted number anymore
2023-07-07 21:32:17 +02:00
Gellipapa 866899e796 🚑 hotfix regsiter command in es_extended 2023-07-07 21:31:22 +02:00
Gellipapa 59100f8672 Add new workflow 2023-07-07 02:41:54 +02:00
Epyi 942b1a90c3 Merge branch 'esx-framework:dev' into dev 2023-07-06 14:46:14 +02:00
Epyi 525f83f266 Update esx_identity/locales/fr.lua
- Correction of some mistakes
2023-07-06 14:45:29 +02:00
Thekuca a5b2282d11 Merge pull request #1095 from thelindat/multichar-tweaks
refactor(esx_multicharacter): tweaks and fixes
2023-07-06 02:27:43 +02:00
Linden 713e77b660 fix(esx_multicharacter/server): only set databaseFound on match 2023-07-06 00:34:23 +10:00
Linden 7d0872746e fix(esx_multicharacter/server): don't rely on jobs for databaseConnected 2023-07-06 00:33:08 +10:00
Linden f8197b7d47 refactor(esx_multicharacter/server): await databaseConnected for setup 2023-07-06 00:32:35 +10:00
Linden 6234d5da9c refactor(esx_multicharacter/server): remove hacky jobs workaround 2023-07-06 00:31:56 +10:00
Linden 303ddcee55 fix(esx_multicharacter/server): indentation 2023-07-06 00:31:47 +10:00
Epyi da35da2d7b Update fr.lua
- Update fr language
- added languages that are in en.lua and missing in fr.lua
- removal of languages that are in fr.lua and missing from en.lua
2023-07-05 14:14:45 +02:00
TheFantomas f19b2cfe97 fix(es_extended): remove trailing whitespace 2023-07-01 21:55:23 +02:00
TheFantomas f22b78617a fix(esx_skin): unused variable 2023-07-01 21:53:38 +02:00