ElPumpo
48dfa27397
Removed /disc command, closes #464
...
Co-Authored-By: Andrea Passarini <profex1999@users.noreply.github.com >
2020-02-11 21:13:25 +01:00
ElPumpo
baa9ca3afc
Implemented weapon tint support (desc), closes #477
...
- Implemented two new xPlayer functions:
- .getWeaponTint(weaponName)
- .setWeaponTint(weaponName, weaponTintIndex)
Thanks to @profex1999 for co authoring this!
Co-Authored-By: Andrea Passarini <profex1999@users.noreply.github.com >
2020-02-11 21:11:54 +01:00
Jay
8e13cf6613
esx:spawnVehicle using Player Heading ( #486 )
...
* esx:spawnVehicle using Player Heading
Updated esx:spawnVehicle to use the players heading as opposed to the default 90.0 degree angle
* Update main.lua
2020-02-11 19:45:48 +01:00
Samuel
0bd4267715
Merge pull request #494 from Oldarorn/patch-2
...
Updated French translation
2020-02-11 14:19:55 +01:00
Oldarorn
8d308f7c82
Update fr.lua
2020-02-11 12:32:20 +01:00
ElPumpo
548b676e5d
Added missing translations
2020-02-11 12:01:39 +01:00
ElPumpo
d15cd7d0ec
Update en.lua
2020-02-11 11:54:57 +01:00
ElPumpo
f11e97e0a5
Improved ammo label handling, extended weapon configuration file with ammo hash and label
2020-02-11 11:50:59 +01:00
ElPumpo
e25f5dee2e
Temp code revert for loadout updating, fixes ammo sync
2020-02-11 11:37:47 +01:00
ElPumpo
6ed2e1c4e7
Minor changes
2020-02-01 13:02:23 +01:00
Samuel
2969f9b441
Merge pull request #462 from LifeGoal/patch-1
...
Fixed SQL problem
2020-01-20 22:21:02 +01:00
Viktor
74ab98d7d7
Fixed SQL problem
2020-01-20 19:26:21 +01:00
ElPumpo
cd1ce6a849
Don't parse item object to client, added weapon component notifications (more see desc)
...
- Removed xPlayer .displayBank()
- Fixed issues with giving weapon using commands
- Modified ESX.UI.ShowInventoryItemNotification() to take string instead of table
- Minor adjustments and variable renames
- Fixed lower case weapons not droppable
- Removed /disconnect command becasue fivem implemented their own
2020-01-20 14:33:24 +01:00
ElPumpo
17b19893c9
Fixed benzon typo
2020-01-20 13:21:13 +01:00
Samuel
b011cd8fd5
Merge pull request #411 from lemonpea/master
...
Add function to replace all elements
2020-01-20 12:27:13 +01:00
Michael Douglas
392184ee27
Improved Portuguese translation ( #433 )
...
* Correcting and improving translation
* remove incorrectly added capital letters
* Update br.lua
* fixin translates
Co-authored-by: Samuel <samo_kol@hotmail.com >
2020-01-20 11:40:20 +01:00
Samuel
45a1ca673b
Merge pull request #454 from benzon/master
...
Added Cash support to /giveaccountmoney
2020-01-20 11:36:08 +01:00
Søren Eskildsen
4cc9646512
Added Cash support to /giveaccountmoney
...
Just to have a easy way to give cash to a person i have added a check to see if account == cash, just to avoide having more commands.
2020-01-20 06:33:17 +01:00
ElPumpo
cced6c955e
Removed xPlayer .setBankBalance(), .getBank(), .setSessionVar(), .getSessionVar(), .getPermissions(), .setPermissions()
2020-01-19 22:59:26 +01:00
ElPumpo
a109701253
removed xPlayer .addBank() and .removeBank()
...
Phasing out ES code, and those functions were misleading
2020-01-19 22:54:45 +01:00
ElPumpo
133825dbea
Use new key register
2020-01-19 17:57:28 +01:00
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
ElPumpo
99c43b62c0
Fixed Teleport function with vector3 types
2020-01-16 12:26:31 +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
b3a36747a3
Removed saving Steam name in database, closes #246
2020-01-15 10:27:07 +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
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
ElPumpo
b30e72bdcc
Fixed /givecommandcomponent command, closes #422
2020-01-04 10:55:10 +01:00
ElPumpo
fdabf80657
Implemented ESX weapon drops with components support, closes #421
2020-01-04 01:33:12 +01:00
ElPumpo
2f75152457
Changed how pickups work, see desc. Fixed #338 , fixed #420
...
- Pickups now require you to press E once nearby to pick up
- Fixed pickup objects sometimes not showing up #420
- Added animation to picking up and throwing items
- Added message when inventory cannot accept picking up item
2020-01-03 19:20:26 +01:00
ElPumpo
9b33a3e6ca
Fix math round function again
...
Co-Authored-By: hugocabral <hugocabral@users.noreply.github.com >
2020-01-03 19:10:25 +01:00
ElPumpo
bf9c14ed57
Added /giveweaponcomponent command, easier to understand parms table
2020-01-03 17:56:44 +01:00
ElPumpo
2140f8628c
Added log level to print uses, and change formatting
2020-01-03 13:55:23 +01:00
ElPumpo
ffa05600a4
Updated readme
2020-01-03 13:05:16 +01:00
ElPumpo
2539e6fa9d
Added missing exception handlers to commands, removed /setmoney command closes #206
2020-01-03 12:49:07 +01:00
ElPumpo
8eb1acd082
Fixed round function not properly working in some locales, closes #258
2020-01-02 14:31:46 +01:00
ElPumpo
4187675148
/dv command changes (see desc)
...
- Added optional /dv argument for deleting vehicles in proximity
- Use RequestControlOfEntity native to properly delete entities
2019-12-27 14:49:29 +01:00