Commit Graph

65 Commits

Author SHA1 Message Date
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 37ada40b21 Fixed ammo duplicate on restoreLoadout, fixes #171 2018-12-23 12:21:28 +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 f935db8e8b Use new scaleform native names 2018-12-16 00:03:04 +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 d1d87bbe91 Fixed death bugs 2018-11-25 13:36:19 +01:00
ElPumpo 3fc17880f8 Added ESX.Math.Trim function 2018-11-20 21:03:44 +01:00
ElPumpo 096a84aa1b Ditch baseevents, closes #125, see #118 2018-11-17 12:39:43 +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 810949fe09 Performance improvements 2018-09-20 22:45: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
ElPumpo d161162190 Car delete now uses player direction, Added /cardelete (same as /dv), removed /dv arg 2018-08-21 21:23:50 +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 0f528770e6 Implemented callbacks for ESX.Streaming (desc) closes #113
- ESX.Streaming.RequestClipSet
- ESX.Streaming.RequestWeaponAsset
- ESX.Streaming.RequestPtfxAsset
- ESX.Streaming.RequestNamedPtfxAsset
2018-07-28 15:38:37 +02:00
ElPumpo 7d47e7b772 Implemented ESX.Streaming helper 2018-07-19 19:29:38 +02:00
ElPumpo f90ca1f03a Fixed esx:onPlayerDeath trigger final time 2018-07-18 19:48:23 +02:00
ElPumpo 50c5deff5f Implemented experimental Scaleform API 2018-07-15 13:38:46 +02:00
ElPumpo 2dfff894e5 Commented out distance calculating until it gets fixed 2018-07-15 13:37:03 +02:00
ElPumpo e7016c723c Play sound when picking up throwed item 2018-07-15 13:15:14 +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 4a5913b3d4 Fixed dupe pickups #102 2018-07-14 19:33:20 +02:00
LuaDeldu b51889afe3 Missing comma 2018-07-10 16:13:09 +02:00
ElPumpo 963432a737 esx:onPlayerDeath trigger improved 2018-07-10 13:15:05 +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 a9a0dedeed Minor changes 2018-07-05 18:04: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
ElPumpo 2e67349645 Fixed hardcoded strings, added new trigger esx:onPlayerDeath 2018-04-14 14:25:37 +02:00
ElPumpo aacc2d1083 Fixed ammo bug
Fixed the famous ammo bug where if you remove a weapon from your inventory, it doesn't remove the ammo for it.
2018-03-17 18:11:16 +01:00
Jérémie N'gadi 366abeb280 Merge pull request #48 from dexslab/master
Fixed vehicle network id issues by removing mission entity re
2018-03-16 21:46:14 +01:00