Commit Graph

4297 Commits

Author SHA1 Message Date
ElPumpo 5f4a78330b Set missing info and added new event handler 2020-01-15 11:08:08 +01:00
ElPumpo 10665aff53 Update xPlayer name 2020-01-15 11:03:16 +01:00
ElPumpo 47a36bb9c7 Added missing ESX usage 2020-01-15 10:58:08 +01:00
ElPumpo b587a25c92 Update config.lua 2020-01-15 10:47:18 +01:00
ElPumpo 7fc962a83c Removed mysql database usage 2020-01-15 10:47:02 +01:00
ElPumpo b3a36747a3 Removed saving Steam name in database, closes #246 2020-01-15 10:27:07 +01:00
Samuel fcf3d4a3a6 Merge pull request #33 from maiconkkl/master
Improved Portuguese locale
2020-01-15 10:08:14 +01:00
ElPumpo 210b98975a Removed old lastPosition code 2020-01-12 22:15:47 +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 5566abca4f Removed updating loadout from client - usally spawned weapons 2020-01-12 22:04:59 +01:00
ElPumpo ccdd4494c5 Reset color after client print, use async callback for retrieving jobs 2020-01-12 21:55:18 +01:00
ElPumpo 9be103db31 ESX.Game.Teleport() support heading, minor cleanup 2020-01-12 21:04:04 +01:00
ElPumpo 91eb2f8505 Removed jobmaster group 2020-01-12 19:18:41 +01:00
ElPumpo aa9ffd3866 Replace __resource.lua with fxmanifest.lua 2020-01-12 19:17:05 +01:00
pikaxo 7b1ff095f1 rectify README.md
fix README.md where it says 
``` start esx_policejob ```
went to 
``` start esx_sit ```
2020-01-07 23:01:23 +00:00
maiconkkl dc1ba4f1ed Correcting and improving translation 2020-01-06 22:10:59 -03:00
Tinky cc5b9c1538 Removed local keys 2020-01-06 16:04:53 +01:00
rex2630 04d3a6162f Updated to newest ESX 2020-01-06 15:56:35 +01:00
rex2630 37474d5d75 SQL weight 2020-01-06 15:53:05 +01:00
rex2630 bde5d69c1a SQL weight 2020-01-06 15:52:45 +01:00
rex2630 68e2fc52bf SQL weight 2020-01-06 15:52:24 +01:00
rex2630 208a362a5c SQL weight 2020-01-06 15:52:04 +01:00
rex2630 79762b6b44 Updated SQL 2020-01-06 15:51:35 +01:00
maiconkkl 40e4a009f1 Correcting and improving translation 2020-01-05 23:09:13 -03:00
maiconkkl 01a6cc466f Improved Portuguese locale (#174)
* Correcting and improving translation

* Update br.lua

* Update br.lua

* Update br.lua
2020-01-05 19:51:05 +01:00
Samuel e36f733f1f Merge pull request #36 from rex2630/patch-1
Removed keys table
2020-01-05 19:32:40 +01:00
BackrndSource faacd1f5b9 Add Spanish Translation (#31)
* Spanish Traduction (locales/es.lua)

* Update to add locale/es.lua
2020-01-05 15:58:37 +01:00
CreativeOutcast - BenZoN dce7fd3945 Added missing SetPedHeadOverlay (#32)
Added facial blemishes to ApplySkin
2020-01-05 15:57:54 +01:00
ElPumpo feaf842420 Show player name and not steam name, fixes #354 2020-01-05 15:49:00 +01:00
ElPumpo e83801cf42 Death module: fixed killer sometimes not getting found, changed native. Fixes #417 2020-01-04 23:54:39 +01:00
rex2630 b796a76ec3 Removed keys table 2020-01-04 19:49:37 +01:00
rex2630 6f91b8ac74 minor cleanup 2020-01-04 19:28:38 +01:00
rex2630 86ea93816a Removed keys table 2020-01-04 19:10:00 +01:00
ElPumpo 9e349217a4 Fixed scenario not having time to start 2020-01-04 19:08:06 +01:00
rex2630 aa3c921310 Minor cleanup (#28)
* Minor cleanup

* I forgot these

* NEW ESX Support
2020-01-04 18:49:39 +01:00
Samuel 2b6a23923b Merge pull request #26 from rex2630/patch-1
Removed keys table
2020-01-04 18:09:43 +01:00
rex2630 f51d8cb281 Updated SQL to weight 2020-01-04 15:16:16 +01:00
ElPumpo 23ced867d1 Update README.md 2020-01-04 13:56:13 +01:00
ElPumpo bc56c7607b Fixed possible error 2020-01-04 13:51:17 +01:00
ElPumpo d2f52e2fce Manual merge PR #10 #12
Co-Authored-By: Tracid <tracid56@users.noreply.github.com>
2020-01-04 13:50:08 +01:00
ElPumpo 906ac324da Minor changes 2020-01-04 13:48:54 +01:00
ElPumpo 653e60ae2e Manual pr #24, fixes sit not working
Co-Authored-By: duckhunter392 <duckhunter392@users.noreply.github.com>
2020-01-04 13:43:07 +01:00
ElPumpo 9348b5176c Initial repo cleanup 2020-01-04 13:35:47 +01:00
rex2630 2634d0356e Removed keys table 2020-01-04 13:06:51 +01:00
ElPumpo bc4f950717 Minor repo changes 2020-01-04 13:05:17 +01:00
Samuel 6ac2c76016 Merge pull request #31 from userMacieG/patch-1
Update README.md
2020-01-04 13:01:59 +01:00
Samuel e54b4f9300 Merge pull request #25 from Najsr/master
Optimized the code a bit
2020-01-04 13:01:21 +01:00
ElPumpo 00b5a75d4f Minor server sided code improvement, fixed #14 2020-01-04 12:56:46 +01:00
Samuel a1575ee3fc Merge pull request #22 from Tinky124/patch-1
Removed misleading key table
2020-01-04 12:52:06 +01:00
ElPumpo c7dbd9361f Fixed player revive notification showing Steam name, and check if online 2020-01-04 11:45:00 +01:00