Commit Graph

47 Commits

Author SHA1 Message Date
ElPumpo 0e5dda5779 Added pvp to esx, fixes #302 2019-10-13 19:18:22 +02:00
ElPumpo 322fb19034 Fixed #350 2019-10-09 21:55:44 +02:00
Samuel 986e12ad38 Merge pull request #322 from LifeGoal/master
Loadout & confiscating fix (read desc)
2019-09-29 09:12:04 +02:00
ElPumpo 8586fdcce2 Fix thrown items not synced with mid-joined players 2019-09-18 13:47:41 +02:00
Viktor 2e39e3d01a Fixed loadout flaw when confiscated while dead 2019-08-04 16:47:33 +02:00
ElPumpo 06d3ee286f Replaced for i= loops with ipairs 2019-08-04 14:55:04 +02:00
ElPumpo 63bdd6daef Removed Show Dot Above Player 2019-07-20 14:34:13 +02:00
ElPumpo 954572c934 Minor changes, removed keys table 2019-06-08 22:24:20 +02:00
ElPumpo cd9383a56f Grade supposed to be number type 2019-03-06 22:50:43 +01:00
ElPumpo 9a39f83aee Minor changes 2019-02-28 12:57:54 +01:00
ElPumpo 22a4d67971 Fix new player error on first spawn 2018-12-31 14:11:05 +01:00
ElPumpo dc44b7c667 Run menu check and anti-wanted every frame 2018-12-30 21:43:15 +01:00
ElPumpo ccc36f388b Revert "Run menu check and anti-wanted every frame"
This reverts commit c95ac3b87f.
2018-12-30 21:41:59 +01:00
ElPumpo c95ac3b87f Run menu check and anti-wanted every frame 2018-12-30 20:57:42 +01:00
ElPumpo e0f9358b22 Only add weapon component once, check if player has weapon 2018-12-29 13:47:01 +01:00
ElPumpo caec057954 Initial support for weapon components 2018-12-29 02:10:37 +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 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 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 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
ElPumpo f90ca1f03a Fixed esx:onPlayerDeath trigger final time 2018-07-18 19:48:23 +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 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 a9a0dedeed Minor changes 2018-07-05 18:04:40 +02:00
ElPumpo 3de26d020b Improved ammo handling 2018-06-22 22:25:34 +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
KandaSoranyan eb42f346b2 Add files via upload 2018-02-19 03:30:02 +01:00
KandaSoranyan 06fe0c7969 Only Keyboard 2018-01-21 15:54:25 +01:00
KandaSoranyan 34cae4afc8 fixed glitch
Players were able to duplicate pickups when driving fast on it
2018-01-01 09:42:11 +01:00
Jérémie N'gadi 799ee1f914 Revert "fix(client): Better loadout management"
This reverts commit 5d14f3d860.
2017-10-03 18:20:52 +02:00
Jérémie N'gadi 38978958c4 fix(client): Fix restoring of loadout 2017-09-23 11:37:50 +02:00
Jérémie N'gadi 5d14f3d860 fix(client): Better loadout management 2017-09-23 11:25:36 +02:00
Jérémie N'gadi 97adf4f97c build(submodules): Remove submodules + move everything at root 2017-09-15 14:26:56 +02:00