esx-framework / esx_core

Official Repo For core resources for esx-legacy
https://documentation.esx-framework.org/
GNU General Public License v3.0
356 stars 737 forks source link

bug(es_extended): error's out on playerCoords #1371

Closed iSentrie closed 1 month ago

iSentrie commented 1 month ago

1️⃣ ISSUE

After last update, client errors out image

https://github.com/esx-framework/esx_core/blob/0bc232185aa05462d161638551f6bc7dbb7d7894/%5Bcore%5D/es_extended/client/main.lua#L484

Edit: looks like playerCoords is vec3 and coords.pickup is vec4

2️⃣ ISSUE

Also after last update, it's hard to pickup items, message pops up in server console: [WARNING] Player Detected Cheating (Out of range pickup) I think since there was some changes with coords, heading is being saved too and it's getting calculated towards coordinates.


⚠️ _Using default inventory (no oxinventory)

EDIT: pushed 2 updates for these issues.

Gellipapa commented 1 month ago

@iSentrie Hi! I've included the addition of heading to getCoords and it looks like it breaks all the code, so we'll get that back fixed tomorrow and eliminate all these errors. Thanks for your patience and thanks for opening the issue.