Commit Graph

5 Commits

Author SHA1 Message Date
ElPumpo 17ac9d5846 Fixed mistakes with fuctions returning lists of players
Fixed some ESX functions that are used to get the closests, I forgot that the functions should've returned the player and not the entity handle :/

Also fixed the ESX.Game.GetClosestPed() function just returning your own ped.

Thanks @SSNRSS for helping me iron out the problems!

Co-Authored-By: Lucas. <ssnrss@users.noreply.github.com>
2020-04-15 20:08:00 +02:00
ElPumpo cf7f6b14f4 Finished new code, closes #249
Co-Authored-By: Lén <corbeau.lenaic@gmail.com>
2020-04-14 13:25:45 +02:00
ElPumpo 5562712975 ⚠️⚠️BREAKING COMMIT⚠️⚠️: Merged dupe client functions code
This changes arguments on the following functions:
- ESX.Game.GetClosestObject()
- ESX.Game.GetPeds(), no more arg for ignoreList
- ESX.Game.GetClosestPed(), no longer a ignore list, instead a whitelist
2020-04-14 13:08:10 +02:00
ElPumpo c07cdde7c8 Tab indent update 2018-09-01 17:43:35 +02:00
Jérémie N'gadi 97adf4f97c build(submodules): Remove submodules + move everything at root 2017-09-15 14:26:56 +02:00