Commit Graph

393 Commits

Author SHA1 Message Date
ElPumpo 8a7cf56497 xPlayer.getCoords() round to one decimal from ES 2019-09-29 11:30:42 +02:00
ElPumpo 06952418bf DrawText3D: use SetDrawOrigin() instead of World3dToScreen2d() that was one frame behind 2019-09-29 11:30:21 +02:00
Samuel 986e12ad38 Merge pull request #322 from LifeGoal/master
Loadout & confiscating fix (read desc)
2019-09-29 09:12:04 +02:00
ElPumpo 8586fdcce2 Fix thrown items not synced with mid-joined players 2019-09-18 13:47:41 +02:00
ElPumpo 5159e892fe Removed unneeded backticks 2019-08-10 12:43:09 +02:00
ElPumpo 48cf1d56be removed old ESX.TableContainsValue 2019-08-04 17:54:46 +02:00
ElPumpo adfb9f6522 Fixed xplayer typo 2019-08-04 17:54:18 +02:00
Viktor 2e39e3d01a Fixed loadout flaw when confiscated while dead 2019-08-04 16:47:33 +02:00
ElPumpo 06d3ee286f Replaced for i= loops with ipairs 2019-08-04 14:55:04 +02:00
ElPumpo 44c05b8fae Added fuel to veh properties and ensure decimal value 2019-08-02 11:33:10 +02:00
ElPumpo e850da085e See description for changes
Fixed the "health" problems on vehicles. It seems like you shouldn't use the `GetEntityHealth()` on vehicles at all since it is linked to the `GetVehicleBodyHealth()` native.
But if you use the `SetEntityHealth()` native on an vehicle it breaks the link. Instead there's both body health and engine health that ESX has missed out on.
Since the new used `GetVehicle***` natives return decimal values we round them to 1 decmial.
Also dirt levels are now rounded to one decimal since they make 0 visable difference.
2019-07-30 20:40:39 +02:00
ElPumpo 63bdd6daef Removed Show Dot Above Player 2019-07-20 14:34:13 +02:00
Samuel ef5c9e19b4 Merge pull request #278 from DRP-Test/master
Renamed variables to match xPlayer variables
2019-07-20 14:24:54 +02:00
Samuel 5c1416e4bf Merge pull request #274 from izio38/patch-1
Fixed wrong notification target in give weapon code
2019-07-20 14:22:22 +02:00
ElPumpo 9fa0c12e02 Replaced MaxPlayers with GetActivePlayers for all babies 👶 2019-07-20 13:09:42 +02:00
ElPumpo 954572c934 Minor changes, removed keys table 2019-06-08 22:24:20 +02:00
Samuel fb1c8a0bf1 Merge pull request #264 from jquiaios/master
Fix mislocated break in player accounts' loop
2019-05-23 13:49:54 +02:00
ElPumpo 15489ec3c7 Proper hud natives 2019-05-20 23:05:38 +02:00
DanishRP 36bc96cdfe Changed Variables
Changed Variables for self.removeAccountMoney, did not match same scheme as other functions in same function
2019-05-11 01:18:59 +02:00
izio38 fb9f4263a2 wrong notif target 2019-05-05 23:00:08 +02:00
ElPumpo 47c81f36eb Implemented ESX.Table.Sort() for pairs 2019-05-01 21:56:49 +02:00
jquiaios cde81c4e8e Fix mislocated break in player accounts loop 2019-04-26 19:03:01 -04:00
ElPumpo d6323124c2 OneSync note 2019-04-22 11:37:06 +02:00
ElPumpo 166d8c17a6 Ignore items not registered in "items" table 2019-04-22 11:36:49 +02:00
Samuel 8575682f82 Merge pull request #257 from KandaSoranyan/master
translating missing fr locale
2019-04-20 09:59:58 +02:00
KandaSoranyan debaf54c44 translating missing lfr ocale 2019-04-20 07:45:28 +02:00
ElPumpo 3d27e2b0a6 Indent cleanup 2019-04-17 11:38:12 +02:00
ElPumpo 16a78f4613 Rewrote .SizeOf() function 2019-04-15 11:14:37 +02:00
ElPumpo a0cc840ec9 Renamed arguments 2019-04-13 23:15:13 +02:00
ElPumpo fb8379899c Missing decleration 2019-04-13 23:03:24 +02:00
ElPumpo 17cbed0263 Added table module, thanks to Gizz
Co-Authored-By: Jérémie N'gadi <jeremie.ngadi@gmail.com>
2019-04-13 23:00:26 +02:00
ElPumpo 51b2df94af Fixed IsVehicleEmpty() again 2019-03-30 08:49:03 +01:00
ElPumpo 28ce131fb7 Implemented vehicle extras property support, closes #186 2019-03-09 18:37:01 +01:00
ElPumpo cd9383a56f Grade supposed to be number type 2019-03-06 22:50:43 +01:00
ElPumpo a088fae0e4 Compatibility with old loadouts prior to components update, fixes #194 2019-03-04 21:32:23 +01:00
ElPumpo b8d0669b64 Fixed job issues and dont query sql on xPlayer creation 2019-03-04 21:21:18 +01:00
ElPumpo e976de722b Implemented xPlayer.setLastPosition and fixed saving coords 2019-02-28 12:59:44 +01:00
ElPumpo 9a39f83aee Minor changes 2019-02-28 12:57:54 +01:00
ElPumpo 5ab6123b44 Implemented ESX.DoesJobExist() 2019-02-28 12:57:09 +01:00
ElPumpo 611bf76aaa Fixed IsVehicleEmpty() 2019-02-27 09:24:37 +01:00
ElPumpo 799a35fdf4 Implemented ESX.Game.IsVehicleEmpty() 2019-02-24 19:28:47 +01:00
ElPumpo 06aa7bf513 Minor changes 2019-02-22 18:51:38 +01:00
ElPumpo 63da91273d death: x,y,z variables instead of unpacked table 2019-02-22 18:51:27 +01:00
ElPumpo 7e66edc351 Use correct text component 2019-01-15 23:35:51 +01:00
ElPumpo 63c8191be3 Proper default config 2019-01-13 22:45:03 +01:00
ElPumpo b916bd74b7 Fixed #172 2019-01-13 22:44:32 +01:00
ElPumpo fb816bb9b7 Implemented menu.setTitle() 2019-01-13 00:33:00 +01:00
ElPumpo dade4f70ab Fixed removing elements 2019-01-12 19:50:18 +01:00
ElPumpo 9382128f2e Proper RequestCollisionAtCoord arguments 2019-01-08 13:51:00 +01:00
ElPumpo 018d7050ac Fixed trim error 2019-01-06 18:55:46 +01:00