Commit Graph

149 Commits

Author SHA1 Message Date
Hubert f2e0441538 Optimized saving of player position
The changes I applied to the code regarding self.getCoords(), changing the conditions when joining the server at coordinates to userData.coords and getting rid of the self.updateCoords() function. I believe that my changes when saving are more efficient, because the player's position is not overwritten unnecessarily every second if he changes his position, but the position is saved when leaving the server to the database, and then loaded when entering the server.
2023-06-07 21:53:45 +02:00
TheFantomas 01087c3c5a refactor(es_extended): DisableSeatShuff move 2023-03-20 16:20:01 +01:00
TheFantomas 16bb15a8a9 fix(es_extended/server/functions.lua): Added model argument to callback 2023-03-18 19:18:31 +01:00
TheFantomas c4530d89ac revert "a80f5f952a87969237117957d5c38e62d4294f24"
It does not work as it should, it is impossible to set the value to false.

https://ctrlv.cz/shots/2023/03/17/WWLS.png
2023-03-17 23:03:00 +01:00
TheFantomas 7292515e0d Merge pull request #944 from ChrissisCodeXD/patch-1
Update de.lua - 変態#9999
2023-03-14 20:42:27 +01:00
TheFantomas cf76967186 Merge pull request #942 from Rav3n95/dev
Update metadata
2023-03-14 16:23:52 +01:00
Ray 1d1c154380 Update de.lua - 変態#9999
Changed the translation for the default clip and extended clipddddddd
2023-03-14 06:36:37 +01:00
P Gergő b8a1d2d4f1 Merge branch 'dev' of https://github.com/Rav3n95/esx_core into dev 2023-03-12 18:39:09 +01:00
P Gergő 02d496fa6a Remove print 2023-03-12 18:39:07 +01:00
P Gergő a00183deba Refactor: Metadata. meta to metadata 2023-03-12 18:32:56 +01:00
Arctos2win f225a1c084 Update nl.lua
Removed the whitespace ( requested by Fantik ) 
changed some weapon tint
2023-03-12 12:35:32 +01:00
TheFantomas 02443e3bdd Merge branch 'dev' into patch-4 2023-03-12 12:24:13 +01:00
TheFantomas 67150e20a6 Default false 2023-03-12 12:22:36 +01:00
Arctos2win 99c5940f86 Adding and changing dutch translations 2023-03-12 00:40:00 +01:00
P Gergő fc687084eb Feat: Disable config options 2023-03-12 00:11:05 +01:00
TheFantomas 5bcb72e991 chore(core) Bump manifest version to 1.9.4 2023-03-10 23:13:13 +01:00
P Gergő 3ba60e806e Merge pull request #931 from Thekuca/patch-2
feat(es_extended/config.lua): Adding disable seat shuff (PART 1)
2023-03-08 21:00:34 +01:00
P Gergő 0d92c80d3b Merge pull request #930 from Thekuca/patch-3
feat(es_extended/client/modules/actions.lua): Added disable seat shuff (PART 2)
2023-03-08 21:00:08 +01:00
Thekuca 513dbf7e12 fix(PR): Fixed the PR code 2023-03-08 20:22:08 +01:00
Thekuca 84edbd9a54 feat(es_extended/client/modules/actions.lua): Added disable seat shuff (PART 2) 2023-03-08 19:35:59 +01:00
Thekuca 9094a66a0a feat(es_extended/config.lua): Adding disable seat shuff (PART 1) 2023-03-08 19:32:48 +01:00
P Gergő 13838fd8a9 Merge pull request #929 from MoskalykA/main
refactor(playerActive): longer refreshment time
2023-03-08 13:16:02 +01:00
MoskalykA 5f096f485f refactor(playerActive): longer refreshment time 2023-03-08 12:30:11 +01:00
P Gergő 5b24bf5c66 Merge pull request #879 from MoskalykA/moskalyka/formatting
refactor(core): reformatting code with prettier
2023-03-07 20:09:11 +01:00
P Gergő 81aa9bb969 Merge pull request #922 from Sub-Zero-Interactive/test
Feat/Fix(es_extended & esx_multicharacter): Added Validations + bug fixes
2023-03-07 20:08:30 +01:00
P Gergő fb0f1ea2d6 Merge pull request #925 from baguscodestudio/patch-1
feat(es_extended/common/modules): TableContains
2023-03-07 20:07:00 +01:00
P Gergő aec007ff0b Merge pull request #928 from 3869542/patch-RemoveInventoryItem
fix(es_extended/server/classes/player.lua): negative removeInventroyItem count
2023-03-04 22:15:12 +01:00
3869542 afdc384f64 Update player.lua 2023-03-05 01:26:53 +08:00
3869542 0eeabdb6e0 Update player.lua 2023-03-05 01:23:28 +08:00
3869542 d4f1cbb366 Update player.lua
Fix some cheats use xPlayer.removeInventoryItem(itemName, negative number) to get Item
2023-03-05 01:06:12 +08:00
BagusCodeStudio b2441bf278 fix: Change ipairs to pairs for non-numeric keys 2023-03-03 22:51:49 +08:00
BagusCodeStudio d887e19faa feat(es_extended/common/modules): TableContains
Example usage:
`ESX.Table.TableContains(category, {'plane', 'helicopter'})`
`ESX.Table.TableContains(category, 'boat')`

Just a small function that might be neat to have
2023-03-03 22:11:40 +08:00
Mycroft 789dc8b49e tweak(es_extended/fxmanifest.lua): change requirement to be exact 2023-03-02 10:49:22 -08:00
Mycroft 322d268c26 formatting: more camelCase 2023-03-02 08:42:06 -08:00
Mycroft 9be905588f tweak(es_extended/client/functions.lua): add more validation 2023-03-02 08:39:19 -08:00
Mycroft 30bee9343f refactor: make Config.Multichar an automatic value
Credit to Fantik for the idea
2023-03-02 08:34:35 -08:00
Mycroft 33b68df021 formatting: correct naming scheme 2023-03-02 08:13:50 -08:00
Mycroft d1965696f4 tweak: change OnesyncState to oneSyncState 2023-03-01 22:56:26 +00:00
Mycroft e4b36d2d4c feat: Database connection validation
Suggested by tabarra. Instead of throwing them into awaiting scripts with 0 information. stop them from joining and tell them the user
2023-03-01 11:43:06 -08:00
Mycroft 3a77657679 feat(es_extended): Better error messaging to ensure onesync infinity is enabled 2023-03-01 10:27:52 -08:00
Mycroft eeadbbc6d4 feat(es_extended/client): Onesync range validation for client-sided spawning
a better version of: https://github.com/esx-framework/esx_core/pull/915
2023-03-01 10:15:38 -08:00
MoskalykA b8e29f6538 refactor: more logical code 2023-03-01 10:04:48 +01:00
MoskalykA a80f5f952a refactor: more logical code 2023-03-01 09:54:49 +01:00
MoskalykA 24bf5e5a6e Merge branch 'esx-framework:main' into moskalyka/formatting 2023-03-01 09:40:59 +01:00
P Gergő 3d8eaa92d9 Fix: Metadata update to client side 2023-02-27 16:50:42 +01:00
TheFantomas 07ab7aad2f Merge pull request #917 from NikartikTheBear/patch-1
feat(es_extended/locales): Added IT Locale
2023-02-26 23:17:08 +01:00
P Gergő 2c212c13aa Merge pull request #886 from esx-framework/fix-csoki
feat(es_extended): callback functions, vehicle type
2023-02-26 23:12:32 +01:00
nikartik 885000dc79 feat(es_extended/locales): Added IT Locale
Added italian translation to the locales
2023-02-26 22:19:43 +01:00
P Gergő 9ab108e71f Small fixes 2023-02-22 22:14:18 +01:00
P Gergő 3d5deda92c Fix: Remove gitignore, and sql update 2023-02-22 14:06:58 +01:00