Commit Graph

52 Commits

Author SHA1 Message Date
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 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 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 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 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 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 f68e11be2d Trim vehicle plates 2018-11-29 15:32:36 +01:00
ElPumpo c975fea6d3 Don't give weapon if target already has one, seperate string for weapon without ammo 2018-11-25 17:32:36 +01:00
ElPumpo d804fb316f Money color and formatting in inventory 2018-11-17 12:37:17 +01:00
ElPumpo db50388543 Minor changes, missing semicolons in JS 2018-11-10 10:37:27 +01:00
ElPumpo 6461ee2822 Implemented Config.EnableHud 2018-09-28 10:34:05 +02:00
ElPumpo f172cfee9b Removed specifiying amount of ammo when giving weapon 2018-09-28 09:17:00 +02:00
ElPumpo c07cdde7c8 Tab indent update 2018-09-01 17:43:35 +02:00
ElPumpo 7e31fc90f4 Possible fix for onPlayerKilled event where killer id isn't an active player 2018-08-28 12:02:05 +02:00
Corey McCown 36a0c0d0d9 Fix #114 (#123)
Fixes #114
2018-08-14 19:35:39 -04:00
ElPumpo 5e6714a323 Implemented ESX.Game.IsSpawnPointClear(coords, radius) 2018-08-05 13:08:02 +02:00
ElPumpo 7d47e7b772 Implemented ESX.Streaming helper 2018-07-19 19:29:38 +02:00
ElPumpo 50c5deff5f Implemented experimental Scaleform API 2018-07-15 13:38:46 +02:00
ElPumpo 38f3b14f94 Implemented selecting who to give items, major improvements with inventory system, closes #107 2018-07-14 22:55:57 +02:00
ElPumpo 330fb4527b Fixed exploit dupe throw in vehicles, closes #101 2018-07-08 15:33:13 +02:00
ElPumpo 985f2a81fb Refactoring, added shared functions
- Added ESX.ShowHelpNotification
- Added misc shared functions
2018-07-07 13:31:40 +02:00
ElPumpo 8dad759187 Added /clear /cls for clearing chat, 4 tab indent for inventory 2018-07-01 14:48:37 +02:00
ElPumpo 3de26d020b Improved ammo handling 2018-06-22 22:25:34 +02:00
ElPumpo 74d27e4d80 Manual revert: buggy networked vehicle
It broke prop spawning so it's gone.
2018-06-16 10:31:01 +02:00
ElPumpo 93d2263003 Proper string formatting 2018-06-16 10:24:02 +02:00
AdrineX dcb4fbdaa0 add locale for cash 2018-06-12 16:51:10 +03:00
ElPumpo 66e7eceddf Improved paycheck system, added advanced notifications, see desc
- Improved paycheck system
    - we now take society money if there is any, or else the employees wont get a salary at all
    - now using ESX.ShowAdvancedNotifications
2018-05-11 13:57:35 +02:00
ElPumpo 987a40bf0d ESX.Game.GetVehicleInDirection, no more car spawn with radio 2018-05-05 23:56:12 +02:00
ElPumpo 8c129873f0 Fixed #67 one last time 2018-05-01 21:56:41 +02:00
ElPumpo 3760c3350f Improved translations, fixes #69 and #67 2018-05-01 12:09:06 +02:00
ElPumpo 5f93c0a129 Improved i18 formatting, see desc
- /giveweapon now takes ammo as an argument
- improved Swedish translation
- hide actions in the inventory menu if they cannot be done.
- general code improvements, cleanup
2018-04-15 22:52:03 +02:00
ElPumpo 36d82c922f See the description for changes (cleanup)
- reworked /setmoney [id] [money type] [amount]
- implemented /disc (/disconnect)
- the give submenu does no longer appear if there's no one nearby
- if you have 0 cash, bank or black money it wont appear in your f2 inventory
- when selecting a item, let the item label be the title of the menu (inventory menu)
- minor improvements
2018-04-15 01:33:33 +02:00
Unknown 2ce4629d73 Fixed vehicle network id issues by removing mission entity re
gistration adding proper manifest version and setting up vehicle migration from config
2018-03-08 00:13:57 -05:00
KandaSoranyan e140891674 Update functions.lua 2018-02-21 12:18:03 +01:00
KandaSoranyan 7da07f5e5b Update functions.lua 2018-02-21 12:12:19 +01:00
KandaSoranyan eb42f346b2 Add files via upload 2018-02-19 03:30:02 +01:00
FumaPraQue 9102a8e24a Minor fix to vehicle request collision
Minor fix in vehicle request collision code.
2018-02-15 16:04:38 -02:00
KandaSoranyan 4a6ee74ab7 Fixed glitchs
New fixs for glitchs

Not being able to duplicate weapons by staying on pressing enter
Not being able to duplicate money/items and weapons by giving it in vehicles
2018-01-15 16:34:14 +01:00
Jérémie N'gadi b91e4e7337 feat(menus): add ESX.UI.Menu.GetOpenedMenus 2017-12-03 15:42:13 +01:00