Gellipapa
b67014d24d
🚑 Fix server commands in server console
2023-09-24 14:38:04 +02:00
TheFantomas
5da14c1a33
Mistake from me :(
2023-09-24 11:17:16 +02:00
TheFantomas
48e7e462da
formatting & whitespaces (again)
2023-09-23 23:15:09 +02:00
Arctos2win
c21294867a
add 0
2023-09-17 16:38:25 +02:00
Arctos2win
a6b58866f8
fix stop do not use resources
2023-09-17 15:59:43 +02:00
Gellipapa
8d512851e4
Merge pull request #1202 from Gellipapa/ESX.GetNumOfPlayers
...
♻️ Little refactor and handle job counter with GlobalState
2023-09-17 15:31:40 +02:00
Gellipapa
bad447383a
📦 Add GlobalState job count synchron
2023-09-17 15:27:48 +02:00
Gellipapa
d44f793136
🚨 Solving backward compatibility part 2
2023-09-17 15:26:24 +02:00
Gellipapa
d4e32411f3
🔥 Remove unused codes in player class
2023-09-17 15:24:24 +02:00
Thekuca
ddccbc8671
bruh
2023-09-10 18:23:33 +02:00
Thekuca
330a587826
nvm
2023-09-10 18:22:24 +02:00
Thekuca
b343a10039
no need for invoking native
2023-09-10 12:37:27 +02:00
Gellipapa
7510e91c2a
📦 Handle job counter with GlobalState
2023-09-04 23:51:27 +02:00
Gellipapa
715ee856ba
♻️ Little JobsPlayerCount refactor
2023-09-04 23:50:30 +02:00
Gellipapa
d2ac393255
🚨 Revert players command to old method
2023-09-04 22:49:45 +02:00
Gellipapa
a0c0dbc3dd
🚨 Solving backward compatibility
2023-09-04 22:48:58 +02:00
Gellipapa
b644f1f2e9
🚑 Handle nil values if use command in server console
2023-09-04 20:51:59 +02:00
Gellipapa
78f7d69920
Merge branch 'dev' of https://github.com/Gellipapa/esx_core into dev
2023-09-04 20:48:48 +02:00
Gellipapa
ab8e15148c
Revert " 🚑 Handle nil values if use command in server console"
...
This reverts commit 3871e92845 .
2023-09-04 20:48:41 +02:00
Gellipapa
eea618e56d
Merge branch 'esx-framework:dev' into dev
2023-09-04 20:46:32 +02:00
Gellipapa
3871e92845
🚑 Handle nil values if use command in server console
2023-09-04 20:45:03 +02:00
Gellipapa
49d2fadf17
Merge pull request #1199 from Arctos2win/patch-11
...
improve fetching identifier in es_extended ( same way as in multichar )
2023-09-03 19:12:08 +02:00
Thekuca
0bb956414b
feat(classes/player): added an admin flag inside the obj for easier check
2023-09-03 15:30:50 +02:00
Arctos2win
45c4b66608
improve fetching identifier in es_extended ( same way as in multichar )
2023-09-03 11:20:57 +02:00
Ilias Rbayti
9e404fa022
make sure values are >= 0.
2023-09-02 12:21:43 +02:00
Ilias Rbayti
5f3e37a7c9
requested changes #2
2023-09-02 12:10:30 +02:00
Ilias Rbayti
fe64417bf4
requested change #1
2023-09-02 12:09:44 +02:00
Gellipapa
d8b237121a
Merge branch 'dev' into dev
2023-08-29 20:59:24 +02:00
Gellipapa
0b82dbccec
📦 save health and armour in the metadata, and load the metadata when the player joins
2023-08-29 20:52:44 +02:00
Kenshin13
1203084a5c
Update [core]/es_extended/server/functions.lua
...
Co-authored-by: Csoki <feketetibi71@gmail.com >
2023-08-28 11:15:16 +02:00
Ilias Rbayti
783976d5a4
Refactor GetNumPlayers function
...
Use cached job count data instead of enumerating over ESX.Players
2023-08-28 00:12:39 +02:00
Gellipapa
a545b20740
Merge pull request #1161 from Kenshiin13/Security-Updates
...
Security Enhancement: Distance Check for 'esx:onPickup' Event
2023-08-25 17:43:39 +02:00
Jordi
7908d11e98
Fix es_extended/server/main.lua
2023-08-24 17:52:58 +01:00
Arctos2win
4e197d3c1d
Update main.lua
2023-08-23 21:14:04 +02:00
Ilias Rbayti
1b27475ce1
Refactor param name 'type'
2023-08-23 21:06:04 +02:00
Arctos2win
ce96e4ab20
automaticly stop resources that are breaking esx
2023-08-23 01:37:25 +02:00
Arctos2win
77cbe8d388
Update commands.lua
...
this command would break if someone leaves and would
stop counting at the first nil value in the list.
you can get the length of the table to get the online players message in front but that would be less performant.
2023-08-21 02:08:51 +02:00
Ilias Rbayti
29fdf896f9
Only returns a table if val param is also of type table.
...
More intuitive. If I want the job count of a single job "police", I don't expect a table as a return value, but the count directly.
2023-08-21 01:58:52 +02:00
Ilias Rbayti
acd18c6b15
Added ESX.GetNumPlayers function
2023-08-21 01:26:59 +02:00
Ilias Rbayti
92d6f49464
Added ability to spawn pickup at any given coordinate
2023-08-20 18:56:25 +02:00
Ilias Rbayti
aa1ea636e4
Add distance check for net-safe event "esx:onPickup"
2023-08-20 05:31:18 +02:00
Ilias Rbayti
7253c545f1
Use vector for coords
...
I see no reason to use a table for coords. Saves us pointless conversions like the one on client side and allows for arithmetic operations.
2023-08-20 05:29:36 +02:00
TheFantomas
10da0c0aac
fix(es_extended): Another whitespace
2023-08-20 00:19:45 +02:00
Arctos2win
804eb73c96
improve metadata system
2023-08-18 20:37:01 +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
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
Thekuca
2dfc22f517
fix(server/main): fix lint errors
2023-08-17 00:59:48 +02:00
TheFantomas
741ee9c1f5
hotfix: fix getNearbyPlayers function with vector3 as source
2023-08-15 18:00:44 +02:00