Commit Graph

6691 Commits

Author SHA1 Message Date
TheFantomas 5cc9009aaf Merge pull request #1148 from YOMAN1792/dev-2
translate(skinchanger): Update fr.lua
2023-08-20 14:34:03 +02:00
TheFantomas e117d8e700 Merge pull request #1147 from YOMAN1792/dev-1
translate(esx_core): Add missing translations for esx_multicharacter
2023-08-20 14:26:49 +02:00
TheFantomas 10da0c0aac fix(es_extended): Another whitespace 2023-08-20 00:19:45 +02:00
TheFantomas 8245a91d67 fix(es_extended): Fix trailing whitespace and unused variable 2023-08-20 00:15:30 +02:00
Gellipapa bbcd361994 Merge pull request #1160 from Arctos2win/patch-5
improve metadata system
2023-08-18 22:04:39 +02:00
Arctos2win 804eb73c96 improve metadata system 2023-08-18 20:37:01 +02:00
Gellipapa 00959b3c5c Merge pull request #1150 from Kenshiin13/Bug-Fix
fix(ESX.UI): Close Opened Menus on Resource Stop
2023-08-18 19:43:27 +02:00
Gellipapa ba594a73a8 Merge pull request #1154 from Kenshiin13/Better-SetCoords
Feature Request 1143: Added 'coordinate' arg type for ESX.RegisterCommand()
2023-08-18 19:11:37 +02:00
Ilias Rbayti c279b4e6dc Added tp alias to setcoords cmd
As requested in Issue 1143.
2023-08-18 02:37:04 +02:00
Gellipapa 1f48b63af2 Merge pull request #1149 from DasistOnly/main
updated README files
2023-08-17 23:51:22 +02:00
Gellipapa 735712c714 Merge pull request #1157 from esx-framework/patch-2
Handle setMeta subvalue
2023-08-17 23:44:33 +02:00
Gellipapa b5c0d30c9f 🚑 Fix setMeta subValue 2023-08-17 23:40:25 +02:00
Csoki 3585553dce Merge pull request #1153 from epyidev/dev
Fix : The noclip currently uses only part of the locales
2023-08-17 20:54:48 +02:00
Thekuca 2dfc22f517 fix(server/main): fix lint errors 2023-08-17 00:59:48 +02:00
TheFantomas 571888cfe0 fix(es_extended): Remove driftTyres - errors (fivem issue) 2023-08-17 00:27:31 +02:00
Thekuca 48c9662377 fix(cron): fix unused args 2023-08-17 00:07:39 +02:00
TheFantomas 608fb34550 Merge pull request #1117 from IMS-Network/hebrew
translate(es_extended): Hebrew translations
2023-08-16 23:56:33 +02:00
thefourCraft 5e9a7d0860 update last files to hebrew and fix typos 2023-08-17 00:19:01 +03:00
TheFantomas bcf45cdc4b fix: correct vehicletype of model blimp 2023-08-15 18:53:43 +02:00
TheFantomas 741ee9c1f5 hotfix: fix getNearbyPlayers function with vector3 as source 2023-08-15 18:00:44 +02:00
Ilias Rbayti e51aaae1b1 Added 'coordinate' arg type for ESX.RegisterCommand() 2023-08-15 14:48:54 +02:00
Ilias Rbayti 89a75bcc39 Eliminate the need for matching namespace & resource name
When the Menu.Open function is called, a new key-value pair labeled "resourceName" is now added to the menu object. This addition serves the purpose of capturing and storing the invoking resource's name that triggers the function by calling the GetInvokingResource() native.

By implementing this change, we establish a more direct and reliable method for checking the "resourceName" key within the menu object. This approach eliminates the need to solely rely on matching the namespace and resource name. As a result, the code becomes more robust and less prone to errors.
2023-08-14 23:29:24 +02:00
Epyi adf15e0ee3 fix(client/main.lua) Noclip not use locale 2023-08-12 22:18:08 +02:00
Ilias Rbayti ce90c6bc47 fix(ESX.UI): Close Opened Menus on Resource Stop
I have encountered several frustrating instances when accidentally restarting a script that still had an open ESX UI. This situation prevents the UI from closing properly and leads to a cascade of errors, ultimately forcing a game restart. To address this issue, I propose the following code changes.

The code introduces an event handler for the onResourceStop event, enabling us to loop through all open ESX UIs and identify any opened menus within the same namespace as the resource name. Following the best practice, the namespace should ideally align with the resource name.

I believe implementing these changes will provide a smoother user experience. I look forward to your feedback and merging these improvements into the main branch.
2023-08-07 21:45:58 +02:00
Only 33483cb0cf updated README files
updated the documentation urls
2023-08-07 21:28:41 +02:00
YOMAN1792 c6df3e5eb6 Update fr.lua
Fix some translation
2023-08-06 19:19:35 -04:00
YOMAN1792 9f29dc6768 Update fr.lua
Add missing translation and removed translation that were not needed.
2023-08-05 12:37:57 -04:00
Gellipapa ecc7d122e3 Merge pull request #1138 from MoskalykA/slight-optimisation
refactor: slight optimisation
2023-07-31 21:08:13 +02:00
MoskalykA cead0aa431 refactor: slight optimisation 2023-07-30 13:44:04 +02:00
Gellipapa 0365c2816c Merge pull request #1132 from MoskalykA/old-version
refactor: delete an obsolete file
2023-07-29 16:34:21 +02:00
Katoteki 3ac80fe218 Update player.lua
idk what happened, now good
2023-07-27 19:24:29 +02:00
Katoteki b114c7e998 Update player.lua 2023-07-27 19:19:12 +02:00
Katoteki d67a32ad92 Update player.lua 2023-07-27 19:17:28 +02:00
Gellipapa 7fc81984ad Merge pull request #1128 from MoskalykA/less-calculations
refactor: less calculations
2023-07-27 09:57:07 +02:00
Gellipapa 4040ee4e1a Merge pull request #1119 from CanysLypys/main
Fixing getNearbyPlayers function source definition
2023-07-27 09:38:29 +02:00
MoskalykA 7635598b13 refactor: delete an obsolete file 2023-07-27 03:35:05 +02:00
Thekuca 6bc7d418af fix 2023-07-26 23:35:25 +02:00
Katoteki df93efb778 Update player.lua
fix for `subValue` arg in `setMeta` function
2023-07-26 21:35:39 +02:00
Gellipapa da530d6ce9 Merge pull request #1130 from ItsKuf/main
🚀 Enhanced ESX Core Cron Task Handling
2023-07-26 19:21:42 +02:00
TheFantomas 804b8ac505 Merge pull request #1129 from MoskalykA/correction-of-lint-errors
refactor: correction of lint errors
2023-07-26 18:19:37 +02:00
Gellipapa a95e0397b0 Add new or update workflow 2023-07-26 15:15:42 +02:00
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
MoskalykA fb160f4f0d refactor: correction of lint errors 2023-07-26 05:06:52 +02:00
MoskalykA 74d7d7e6f6 refactor: less calculations 2023-07-26 04:58:55 +02:00
Canis_Lupus b6e1c4deba Updating getNearbyPlayers
- Added an 'early' return with an empty table if the source or the playerCoord are not given.
2023-07-24 19:58:27 +02:00
Gellipapa 7fa110c9b2 Merge pull request #1125 from 1nexis/patch-2
fixed setjob logs
2023-07-24 17:57:42 +02:00
nexis 0273c9dfc0 fixed setjob logs
Setjob logs were not working/false
2023-07-24 15:35:12 +02:00
Gellipapa a61eb8b099 Merge pull request #1122 from Gellipapa/main
🚑 fix register commands handle optional args
2023-07-24 10:26:59 +02:00
Gellipapa c995a29288 🚑 fix register commands handle optional args 2023-07-23 19:04:07 +02:00
TheFantomas 054f720390 Merge pull request #1121 from tekkenkkk/typo
fix(es_extended/client): fix RemoveHudCommonents typo
2023-07-23 15:19:14 +02:00