Linden
a24d57d167
Revert "fix(client/functions): Properly network SpawnVehicle/SpawnObject entities"
...
This reverts commit c3acd5fd2a .
2021-06-24 10:49:39 +10:00
ESXCrackhead
6b8c1c1ef9
Merge pull request #1188 from thelindat/patch-1
...
fix(server/main): Define default values for loadout and weight
2021-06-23 09:45:43 -05:00
Linden
2980fd2160
fix(server/functions): Corrected a typo in the savePlayers query
2021-06-24 00:39:51 +10:00
Linden
a3d611e584
fix(server/main): Define default values for loadout and weight
2021-06-23 23:38:09 +10:00
ESXCrackhead
f66222f178
Merge pull request #1187 from thelindat/legacy
...
Legacy - Fix non-networked objects/vehicles; send full MySQL.store queries; improve multichar support and minor fixes
2021-06-23 08:07:23 -05:00
Linden
c3acd5fd2a
fix(client/functions): Properly network SpawnVehicle/SpawnObject entities
...
Networked was always setting to false
2021-06-22 21:48:28 +10:00
Linden
0b766f8b0c
improvement(client/main): Do not update PlayerData.dead if the value has not changed; remove unused multicharacter event
2021-06-21 15:17:05 +10:00
Linden
a1686651c2
improvement(server/functions): Send full queries with MySQL.store
2021-06-21 15:15:06 +10:00
Linden
d13bac5807
fix+improvement(server/main): Resolve issue when creating a character with Config.Identity enabled; update support for multicharacter; send full queries with MySQL.store
2021-06-21 15:14:28 +10:00
Linden
352aafa3d4
Update README.md
2021-06-21 15:11:31 +10:00
Linden
5baae26cc0
Update version.json
2021-06-21 15:11:05 +10:00
Taso
feab86065d
Merge pull request #1180 from thelindat/legacy
2021-06-08 23:22:01 -04:00
Linden
286dbb2e78
refactor(server/common): Start paycheck and sync after ESX.Jobs has been defined
2021-06-09 13:06:31 +10:00
Linden
7cfcf10e23
Update version.json
2021-06-09 01:32:20 +10:00
Linden
ce4cdc6f88
Update README.md
2021-06-09 01:30:32 +10:00
Linden
fa5f7be47f
fix(server/main): Added missing loadout option from query
2021-06-09 00:02:41 +10:00
Linden
405197124e
Update README.md
2021-06-07 20:19:18 +10:00
Linden
caa4188489
Update README.md
2021-06-07 11:26:32 +10:00
Linden
1372d6fe85
Update README.md
2021-06-07 10:11:13 +10:00
Taso
89f8d87681
Merge pull request #1169 from thelindat/multichar
...
feat+improvements(legacy): Multicharacter support; bug fixes and optimisation; retrieve player identity and death status on load
2021-06-04 21:17:32 -04:00
Linden
150db2feac
refactor(server/main): Require identity or multichar config options to load player data; always set the initial death value to 0
2021-06-05 09:13:45 +10:00
Linden
8a5765504d
chore(config): Add option to enable identity integration
2021-06-05 09:12:33 +10:00
Linden
776004ff43
fix(server/main): Remove leftover code from updating query
2021-06-05 01:18:11 +10:00
Linden
55edd9ad66
refactor(client/functions): Don't send events for inventory and loadout
...
- While most resources for ESX will utilise PlayerData in some way, few will require up-to-date inventory and loadout data.
- Those that do use the getter or a server callback, anyway.
2021-06-04 20:55:05 +10:00
Linden
30de47e09d
fix(server/commands): Use the correct variable for clearloadout
2021-06-04 01:02:24 +10:00
Linden
25970b55ba
refactor(client/main): Skin is no longer stored in PlayerData
2021-06-03 23:29:09 +10:00
Linden
64652e4661
refactor(server/main): Do not store skin in PlayerData, send it separately
2021-06-03 23:26:16 +10:00
Linden
7a62980c27
Update version.json
2021-06-03 23:22:25 +10:00
Linden
2ff383616f
improvements(server/main): Set the initial value for PlayerData.dead; use MySQL.store for loadESXPlayer
2021-06-03 23:21:31 +10:00
Linden
3ff2f4ac74
fix(server/commands): /clearloadout will properly wipe all weapons
...
Loadout indexes are being updated while the loop runs causing it to break after removing a few weapons.
This reverts the command to how it worked prior to ESX 1.2
2021-06-03 19:38:29 +10:00
Linden
ca6462ad6a
refactor(server/functions): Return ESX.Players directly, no need to loop
2021-06-02 18:08:32 +10:00
Linden
74f01944f1
improvement+fix(client/main): Save weapon ammo properly; create a timer for saving ammo instead of triggering an event every frame
2021-06-02 12:41:46 +10:00
Linden
a325f96c64
tweak(client/main): Set PVP and hud after the player has spawned
2021-06-02 11:56:22 +10:00
Linden
ee711ff9a8
fix(client/main): Set PlayerData.ped initial value correctly
2021-05-31 20:52:09 +10:00
Linden
1b75d9cf54
refactor(client/functions): Remove rect from DrawText3D
...
It doesn't scale well with different fonts and text size - was only recently added and has not worked correctly
2021-05-31 04:04:27 +10:00
Linden
976922f43a
fix(client/main): Add back trigger and natives for compatibility
2021-05-31 01:52:09 +10:00
Linden
f633b98a9c
refactor(client/main): Cleaned up variables
2021-05-29 04:41:47 +10:00
Linden
67b2be9006
fix(client/functions): Fixed the distance scaling for DrawRect; added rect as an option
...
DrawRect was only added in the last month so this shouldn't affect anyone
2021-05-28 12:48:37 +10:00
Linden
b13e44939c
improvement(server/main): Create a stored query for saving players
2021-05-28 11:42:22 +10:00
Linden
8669d816dd
Merge branch 'multichar' of https://github.com/thelindat/es_extended into multichar
2021-05-28 08:10:41 +10:00
Linden
ebafc8bcb4
chore(legacy/version): Update commit version to 1.3.0
2021-05-28 08:09:56 +10:00
Linden
64510560cc
Merge branch 'legacy' into multichar
2021-05-28 08:06:05 +10:00
Linden
bccca2b8e0
improvement(server/main): Create a stored query for creating new users
2021-05-28 07:45:43 +10:00
Linden
0bfe39d527
refactor(server/commands): Remove sv_restart
2021-05-28 06:05:53 +10:00
Linden
2cc58b6e09
improvement(client/hud): Setup a proper function for clearing the hud, instead of sending multiple NUI messages
2021-05-28 05:54:28 +10:00
Linden
20fa7ae52f
fix(client/functions): Fix DrawText3D scaling
...
This was how the function previously worked, minus the rectangle and vector setting.
2021-05-28 05:51:05 +10:00
Linden
67965129f4
fix(client/main): Move events after spawning into the spawnmanager callback; do not skip spawnmanager fade
2021-05-28 05:18:19 +10:00
Linden
7d84e80539
chore(legacy/fxmanifest): List spawnmanager as a dependency
2021-05-23 23:18:16 +10:00
Linden
bc13c9d34b
feat(server/functions): Add a function to retrieve all xPlayer data
...
If people need to loop through xPlayers, they should use this
2021-05-23 22:18:27 +10:00
Linden
b88930674c
chore(config): Set multichar to false by default
2021-05-23 00:05:11 +10:00