Commit Graph

153 Commits

Author SHA1 Message Date
TheFantomas a703c99d35 fix(es_extended): Lint error 2023-06-29 18:33:46 +02:00
Gellipapa 20d75de6bd Merge pull request #1088 from Gellipapa/main
✏️ fix(es_extended/functions.lua) handle args.playerId is nil
2023-06-28 02:05:15 +02:00
Horváth Gellért f9475ec64c ✏️ fix(es_extended/functions.lua) handle args.playerId is nil 2023-06-28 01:59:19 +02:00
Gellipapa 985c5a1cac Merge pull request #1082 from MoskalykA/es-extended-lint
refactor(es_extended): correction of lint errors
2023-06-28 00:21:46 +02:00
MoskalykA e9cf0b69e0 refactor: add an omission 2023-06-27 23:41:58 +02:00
MoskalykA 59325fab92 refactor(es_extended): correction of lint errors 2023-06-27 23:38:36 +02:00
MoskalykA ad4227d974 refactor: correction of lint errors 2023-06-27 14:48:26 +02:00
MoskalykA f43c81f07e refactor: add forgotten codes 2023-06-27 14:43:13 +02:00
MoskalykA 0104223af4 feat: GetExtendedPlayers can take a table as a second parameter 2023-06-27 14:39:27 +02:00
MoskalykA 7b9554bc88 Merge branch 'dev' into simplify-GetExtendedPlayers 2023-06-26 13:28:29 +02:00
MoskalykA 5e44373d80 refactor: simplify the GetExtendedPlayers function 2023-06-26 13:26:24 +02:00
Gellipapa 21476321e4 Merge pull request #1007 from Taavi-AU/main
add esx:spawnVehicle callback
2023-06-22 10:33:01 +02:00
Taavi 3382605469 Update main.lua 2023-06-22 12:28:28 +08:00
Taavi 3489682ac3 incorrect spelling for source 2023-06-21 19:20:55 +08:00
Taavi c3dea9e80c fix warp = nil 2023-06-21 19:20:13 +08:00
Taavi d96cb4c52c remove vehicle = nil, useless 2023-06-21 19:16:22 +08:00
Taavi f7ec2e5b7c remove stupid vars
can be reverted if better with vars, imo its uglier with vars
2023-06-21 19:15:09 +08:00
Taavi 369971387b format 2023-06-21 19:12:24 +08:00
Tony Stark 35873f7bd1 fix coords and better way of checking heading 2023-06-20 23:26:38 +05:30
Tony Stark 59fd0e551d timeout for loop and parameters changed to table 2023-06-20 23:18:06 +05:30
TheFantomas 74b3ccd9d9 formatting v2 2023-06-16 19:39:13 +02:00
TheFantomas 8a544383ba formatting 2023-06-16 19:37:32 +02:00
TheFantomas 4b6eaedee2 Merge branch 'dev' into main 2023-06-16 19:35:27 +02:00
Gellipapa 41859cd762 Merge pull request #1056 from r3ps4J/fix/xplayer-shownotification
fix(es_extended/server/classes/player.lua): Fix showNotification function parameters to correspond with esx:showNotification event
2023-06-15 10:36:03 +02:00
Gellipapa b18713295e Merge pull request #1037 from CENSOR1337/main
refactor(xPlayer): delete getMeta error message
2023-06-14 22:25:08 +02:00
CENSOR_1337 fa82e7e648 refactor: subIndex will only handle string 2023-06-15 01:15:07 +07:00
CENSOR_1337 2c36f7a039 refactor: simple return value 2023-06-15 01:12:15 +07:00
CENSOR_1337 5d77ed304d typo: 2023-06-14 16:59:19 +07:00
CENSOR_1337 31a952eda5 refactor: maintenance code flow of getMeta
* recursive function call on table sub index
2023-06-14 16:51:26 +07:00
CENSOR_1337 c8a7e5500e refactor: print an error getMeta when debug enabled 2023-06-14 07:46:29 +07:00
Thekuca 48f8bd0e9c Merge pull request #960 from wasabirobby/main
feat(es_extended/server/functions.lua): ESX.CreateJob(tb)
2023-06-13 14:43:15 +02:00
Thekuca 0e87104351 Update functions.lua 2023-06-13 14:41:35 +02:00
mx developement 85da00f424 Update main.lua 2023-06-12 21:39:09 +02:00
Thekuca 9221e6d91d Merge branch 'dev' into main 2023-06-10 00:48:35 +02:00
Hubert 1b918cca3f Added showAdvancedNotification for xPlayer 2023-06-08 13:47:44 +02:00
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
r3ps4J 4ebb5fbd72 feat(es_extended/server/classes/player.lua): Add showAdvancedNotification function 2023-06-06 08:22:33 +00:00
r3ps4J d680d5ac4f fix(es_extended/server/classes/player.lua): Fix showNotification function parameters to correspond with esx:showNotification event 2023-06-06 08:18:17 +00:00
Thekuca d8b4de8f05 revert(server/callback): revert old code 2023-06-04 00:17:26 +02:00
Thekuca 0e61550dc7 Merge pull request #1053 from thesysadmindev/dev
feat(es_extended): Added in randomisation of default spawn coordinates
2023-05-29 14:08:16 +02:00
TheFantomas 5842f30865 revert "a969785d3697a384132202a07d4b357afb668048" 2023-05-28 13:29:18 +02:00
TheFantomas 86270a3b1c Forgot 2023-05-25 15:13:21 +02:00
thesysadmindev dc3f8deada Merge branch 'dev' into dev 2023-05-25 21:11:14 +10:00
Thekuca e406a2b6c3 Update commands.lua 2023-05-25 13:02:06 +02:00
thesysadmindev c2772dbd56 feat(es_extended) Added in randomisation of default spawn coordinates
Replaced Config.DefaultSpawn in [core]\es_extended\config.lua:L21 with a table of default spawn coordinates, and updated [core]\es_extended\server\main.lua:L254 to use new coordinates table.
2023-05-25 20:17:39 +10:00
Cyzxin de0d33b2f6 feat(es_extended): /removeaccountmoney 2023-05-25 08:57:50 +01:00
Thekuca 9ee4bcddf1 Update common.lua 2023-05-23 11:29:50 +02:00
Thekuca fab8f3aa74 Update functions.lua 2023-05-23 11:28:09 +02:00
TheFantomas 05948ffdb9 Merge branch 'dev' into main 2023-05-22 19:23:47 +02:00
Cyzxin 6be5fd5478 Fixed Translation For RefreshJob Command
Added /refreshitems To Update The ESX.Items Table
2023-05-22 09:47:07 +01:00