ElPumpo
756a13f3bb
Add vehicle test for /car command, and use IsModelInCdimage() native
2019-12-27 14:09:07 +01:00
ElPumpo
28bcb5ca71
Removed commands: /loadipl /unloadipl /playanim /playemote /spawnped /spawnobject
2019-12-27 13:00:54 +01: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
ElPumpo
322fb19034
Fixed #350
2019-10-09 21:55:44 +02:00
ElPumpo
4000e1eb34
Added DrawText3D() optional font argument
2019-10-06 20:29:21 +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
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
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
ElPumpo
15489ec3c7
Proper hud natives
2019-05-20 23:05:38 +02:00
ElPumpo
3d27e2b0a6
Indent cleanup
2019-04-17 11:38:12 +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
9a39f83aee
Minor changes
2019-02-28 12:57:54 +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
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
2ac03e534e
Implemented menu.removeElement(query)
2019-01-06 18:47:49 +01:00
ElPumpo
5e35663c95
Fixed mod liveries, thanks to Chubbs
2019-01-01 18:34:13 +01:00
ElPumpo
b1d58d2abd
Removed some never used streaming helpers
2019-01-01 11:03:02 +01:00
ElPumpo
22a4d67971
Fix new player error on first spawn
2018-12-31 14:11:05 +01:00
ElPumpo
dc44b7c667
Run menu check and anti-wanted every frame
2018-12-30 21:43:15 +01:00
ElPumpo
ccc36f388b
Revert "Run menu check and anti-wanted every frame"
...
This reverts commit c95ac3b87f .
2018-12-30 21:41:59 +01:00
ElPumpo
c95ac3b87f
Run menu check and anti-wanted every frame
2018-12-30 20:57:42 +01:00
ElPumpo
6c32c9ede0
Fixed bank money being droppable
2018-12-29 14:47:29 +01:00
ElPumpo
0a374bd831
Use saved nearbyPlayer variable, see #181
2018-12-29 14:22:16 +01:00
ElPumpo
e0f9358b22
Only add weapon component once, check if player has weapon
2018-12-29 13:47:01 +01:00
ElPumpo
caec057954
Initial support for weapon components
2018-12-29 02:10:37 +01:00
ElPumpo
201b5f9ff2
Use old native as new one broke drawing 3d text
2018-12-23 17:46:55 +01:00
ElPumpo
b63c147fc0
Proper raycast arguments, trim last position
2018-12-23 15:05:00 +01:00
ElPumpo
2fd7d326be
'Throwing' update, see desc, resolves #19
...
- proper i18n strings for dropping accounts, money, standard and weapons
- check if the player has the weapon
- workaround for duplicating weapon ammo when dropping weapon with 0 ammo
- removed throw delay
- code cleanup
2018-12-23 14:32:38 +01:00
ElPumpo
37ada40b21
Fixed ammo duplicate on restoreLoadout, fixes #171
2018-12-23 12:21:28 +01:00
ElPumpo
9224f9119f
Minor changes, updated native names
2018-12-23 11:38:39 +01:00
ElPumpo
a3d3692479
Proper CreateObject() arguments
2018-12-17 21:47:23 +01:00
ElPumpo
f935db8e8b
Use new scaleform native names
2018-12-16 00:03:04 +01:00