Commit Graph

4619 Commits

Author SHA1 Message Date
Samuel 732e1f9c33 Merge pull request #450 from Julien80/patch-1
Fix give weapon on esx:giveInventoryItem
2020-01-19 09:41:19 +01:00
Julien80 eb407d980c Fix give weapon on esx:giveInventoryItem 2020-01-18 20:53:18 +01:00
Michael Douglas 308889ac32 Correcting and improving Portuguese locale (#45)
* Correcting and improving translation

* Update br.lua
2020-01-18 15:01:00 +01:00
Michael Douglas aed8c8afe1 Correcting and improving Portuguese locale (#42)
* Correcting and improving translation

* Update br.lua
2020-01-17 19:53:19 +01:00
Michael Douglas f646acc89f Added Portuguese locale (#84)
* Correcting and improving translation

* Update br.lua

* Update __resource.lua
2020-01-17 16:51:02 +01:00
Michael Douglas 35f31af91e Improved Portuguese locale (#59)
* Correcting and improving translation

* Update br.lua
2020-01-17 16:48:14 +01:00
ElPumpo 99c43b62c0 Fixed Teleport function with vector3 types 2020-01-16 12:26:31 +01:00
ElPumpo 3c5a76eaff Update main.lua 2020-01-15 21:50:48 +01:00
ElPumpo 7120de4ab5 Update esx_drugs.sql 2020-01-15 21:49:17 +01:00
ElPumpo 5d924d4b8a Use canSwapItem() test 2020-01-15 21:48:13 +01:00
Samuel 654f9fb013 Merge pull request #228 from maiconkkl/master
Improved Portuguese translation
2020-01-15 20:51:06 +01:00
maiconkkl d76f935281 Added Portuguese translation (#13)
* Correcting and improving translation

* Correcting and improving translation

* Update br.lua
2020-01-15 20:45:50 +01:00
ElPumpo 6a7f8914a7 Merge branch 'master' of https://github.com/ESX-Org/esx_ambulancejob 2020-01-15 20:44:08 +01:00
ElPumpo d94522fbbe Fixed #177 2020-01-15 20:43:40 +01:00
maiconkkl 32f8a2d45d Create SqlTranslate (#175) 2020-01-15 20:41:55 +01:00
ElPumpo 06eb61fa2a Fixed random vehicle colors 2020-01-15 15:04:15 +01:00
ElPumpo 1e146c3211 Added entity check for GetVehicleProperties() 2020-01-15 14:13:15 +01:00
ElPumpo 0fbd5d03a2 Minor changes, fixed giving weapon? 2020-01-15 14:10:57 +01:00
ElPumpo 0d4377042d Update functions.lua 2020-01-15 12:33:55 +01:00
ElPumpo 60fd7e317b Added optional notification background color arugment
Co-Authored-By: WolfShy1 <wolfshy1@users.noreply.github.com>
2020-01-15 12:18:39 +01:00
ElPumpo c345d40374 Disable DisplayHelpTextThisFrame saveToBreif, fixed code 2020-01-15 12:11:37 +01:00
ElPumpo 1d83a1f2f4 Updated native names, added optional values (read desc)
Added flash and saveToBreif booleans to ESX.ShowNotification() and ESX.ShowHelpNotification()

Added two optional booleans thisFrame, beep to ShowHelpNotification() and last new optional argument duration
2020-01-15 11:54:19 +01:00
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