Commit Graph

23 Commits

Author SHA1 Message Date
ElPumpo 35a726685e ⚠️⚠️BREAKING COMMIT⚠️⚠️: Complete ES ditch 2020-02-17 15:22:09 +01:00
ElPumpo 6ed2e1c4e7 Minor changes 2020-02-01 13:02:23 +01:00
ElPumpo f89e051756 BREAKING COMMIT - Player loading improvements (read description!)
This commit implements a new way of saving and getting player coords.

Player coords are synced with its assigned xPlayer, the syncing interval is defined in the configuration file.
Also coords wont sync if the player is too close to their previous location.

Existing servers must change their database to account for the new length of the position varchar, at 53 chars max. There's also a column default value specified in the sql file.

New xPlayer functions:
- .getCoords()
- .setCoords() (x,y,z,heading (optional) table
- .updateCoords()

The last one is used for syncing coords from client (interval). The second one will teleport the player. First one is a renamed .getLastPosition()
2020-01-12 22:13:30 +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 0e5dda5779 Added pvp to esx, fixes #302 2019-10-13 19:18:22 +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 d6323124c2 OneSync note 2019-04-22 11:37:06 +02:00
ElPumpo 63c8191be3 Proper default config 2019-01-13 22:45:03 +01:00
ElPumpo 9382128f2e Proper RequestCollisionAtCoord arguments 2019-01-08 13:51:00 +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 e6f07a6f80 Respect sv_maxclients 2018-12-29 13:48:41 +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 9224f9119f Minor changes, updated native names 2018-12-23 11:38:39 +01:00
ElPumpo 08df136249 Default language to France 2018-11-10 21:44:23 +01:00
ElPumpo db50388543 Minor changes, missing semicolons in JS 2018-11-10 10:37:27 +01:00
ElPumpo 8c596d4c1c Implemented Config.EnableHud 2018-09-28 10:35:41 +02:00
ElPumpo a738a82970 Implemented Config.EnableSocietyPayouts 2018-06-16 10:38:07 +02:00
ElPumpo 6511182681 Config cleanup, final commit v1.0.14 2018-05-16 21:14:08 +02:00
KandaSoranyan f3dc5d9d60 Update config.lua 2018-02-19 03:31:41 +01:00
KandaSoranyan eb42f346b2 Add files via upload 2018-02-19 03:30:02 +01:00
Jérémie N'gadi 97adf4f97c build(submodules): Remove submodules + move everything at root 2017-09-15 14:26:56 +02:00