ElPumpo
756a13f3bb
Add vehicle test for /car command, and use IsModelInCdimage() native
2019-12-27 14:09:07 +01:00
ElPumpo
2d80e55631
rename _source variable to playerId
2019-12-27 13:49:40 +01:00
ElPumpo
aad435842b
Update player.lua
2019-12-27 13:47:18 +01:00
ElPumpo
f9afa6f017
player.lua: implement canSwapItem() and triggerEvent()
2019-12-27 13:45:53 +01:00
ElPumpo
f0130e8f38
player.lua: test nil values
2019-12-27 13:39:31 +01:00
ElPumpo
28bcb5ca71
Removed commands: /loadipl /unloadipl /playanim /playemote /spawnped /spawnobject
2019-12-27 13:00:54 +01:00
ElPumpo
3aa7ada482
Follow markdown standard
2019-11-16 18:26:36 +01:00
ElPumpo
c7a30efdd1
Added ESX.Table.Set() function and fixed accounts not loading
...
http://www.lua.org/pil/11.5.html
2019-11-16 17:41:41 +01:00
ElPumpo
aa1ad0a1e8
Minor code improvements
2019-11-14 22:26:13 +01:00
ElPumpo
f32f44f502
Fixed trailing spaces, and commands.lua use apostrof
2019-11-14 21:25:16 +01:00
Samuel
09fbb60e8a
Merge pull request #377 from Trsak/master
...
Fix pickups not syncing server sided
2019-10-27 09:30:06 +01:00
Petr Sopf
40f9d2aa1f
Fix pickups not syncing server sided
2019-10-23 21:47:35 +02:00
ElPumpo
87fb7b6571
Removed old locales, updated Swedish locale
2019-10-19 19:48:34 +02:00
ElPumpo
f33c317d6f
Fixed sql file inproper weight type
2019-10-19 19:38:54 +02:00
Samuel
b2c5044fc9
Merge pull request #364 from BenjiM/master
...
Update fr.lua
2019-10-15 20:55:37 +02:00
Samuel
da6ad23afe
Merge pull request #366 from userMacieG/patch-3
...
Update pl.lua
2019-10-15 20:54:59 +02:00
userMacieG
9ac7d39884
Update pl.lua
2019-10-14 14:07:27 +02:00
BenjiM
d9a545727f
Update fr.lua
2019-10-14 01:34:47 +02:00
ElPumpo
145f8ebe75
Breaking changes: implemented global weight inventory system, read description before updating!
...
- Fixed #256
- Implements #173
__NO OFFICIAL ESX SCRIPT WILL WORK WITH THIS AT THE MOMENT__
This commit will break your entire ESX if you dont use the new SQL format, follow the new one if you want it all to work properly.
Scripts using `item.limit` will break too, instead use `xPlayer.canCarryItem(item, count)`
2019-10-13 20:56:09 +02:00
ElPumpo
130df3f18f
Fixed notification 99 char limit by using TextEntry, fixes #286
...
You can also split up strings each 99 chars and still use AddTextComponentSubstringPlayerName
2019-10-13 20:20:12 +02:00
ElPumpo
0e5dda5779
Added pvp to esx, fixes #302
2019-10-13 19:18:22 +02:00
Samuel
663dce307f
Merge pull request #357 from userMacieG/patch-2
...
Update pl.lua
2019-10-13 17:31:25 +02:00
ElPumpo
32e6c7edc2
Added optional xPlayer.getCoords() argument to return vector3 type
2019-10-13 16:39:29 +02:00
ElPumpo
61fe6e7323
Removed ES links, see #356
2019-10-13 16:38:56 +02:00
userMacieG
f438ea21db
Update pl.lua
2019-10-11 14:35:49 +02:00
ElPumpo
322fb19034
Fixed #350
2019-10-09 21:55:44 +02:00
ElPumpo
546ac33b1a
Added xPlayer .showNotification() and .showHelpNotification()
2019-10-06 20:29:56 +02:00
ElPumpo
4000e1eb34
Added DrawText3D() optional font argument
2019-10-06 20:29:21 +02:00
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