v2.40.0
Features
- server/shops: add fromSlot to buyItem hook payload (#1638) #1638 (ANTOND)
- client: add convar inventory:disableweapons (Linden)
- convars inventory:dropslots and inventory:dropweight (Linden)
Bug Fixes
- client/nd: properly update groups (#1661) #1661 (Andy)
- server/inventory: round count in 'Inventory.Set' (#1683) #1683 (Gamzky)
- server/inventory: remove notification in CanCarryItem (#1682) #1682 (Gamzky)
- client: reset 'swapActive' when newdrop fails (#1685) #1685 (Gamzky)
- web/InventorySlot: incorrect types used for timer (#1678) #1678 (T-001 v.2 r.3)
- client: don't turn ped during trunk check (#1686) #1686 (Gamzky)
- web: reset 'shiftPressed' in inventory setup (#1687) #1687 (Gamzky)
- server/inventory: clean-up random loot generation (Linden)
- server/inventory: incorrect count passed to swapItems hook (Linden)
Code Refactoring
- client: show notification when using item while armed (Linden)