30 Commits
Author SHA1 Message Date
MrNewb e0c6d2f8c7 fix for jg-mechanic is missing
Replace earlier GetResourceState checks in multiple inventory modules so they only return early when the 'jg-mechanic' resource state is 'missing'. This standardizes behavior across modules (jpr, origen, ox, ps, qb, qs, tgiann) and fixes an inverted check in ox_inventory so the exports['jg-mechanic']:vehiclePlateUpdated call runs unless the resource is actually missing.
2026-03-13 12:35:30 -04:00
Mustache Dom ba6886b4a8 - fix
- `issue`
   - function getInventoryNewVersion() does not have a return if you are 2.0 or higher. resulting in auto setting to false

- `how i fixed`
  - added a return
2026-01-25 03:21:15 -07:00
MrNewb 343af95794 Remove example scripts and update core logic
Deleted all files in the examples directory to clean up unused or test scripts. Updated fxmanifest.lua to enable ox_lib initialization. Improved error handling and entity tracking in utility functions, added prop removal, and made minor localization and code style adjustments throughout the codebase. Significant reword of inventory module, notification module, and framework module. Added support for wasabi_uikit, added support for keep-progressbars,
2025-12-14 16:22:35 -05:00
MrNewb c73faa43db Add checks for alternative inventory resources
Added resource state checks for 'codem-inventory' and 'origen_inventory' in both client and server scripts to ensure compatibility and prevent conflicts when those resources are present.
2025-10-12 21:53:27 -04:00
MrNewb 90c65dc55e Add GetResourceName function to all modules
Introduces a standardized GetResourceName function to banking, clothing, dispatch, doorlock, framework, fuel, helptext, housing, and other modules. This function returns the name of the in-use resource, improving resource identification and interoperability across the codebase.
2025-09-10 12:27:12 -04:00
MrNewb e30dceb540 CanCarryItem checks on additem 2025-08-12 18:08:49 -04:00
Mr.Crowley 466e86bfdb targets and inventory update
Targets:

sphearzone should not take a heading, removed

optional debug at the end for individual debugging

Inventory:

Added OpenPlayerInventory for all inventories.
2 (aka codem and qs) did not have clear documentation. Probably doesnt work
2025-07-28 00:10:51 -05:00
Quin Schurman aefcf8eee2 feat(inventory): add item list function 2025-07-09 17:26:16 -04:00
MrNewb 63c644d277 AddTrunkItems + testing across all bridged inventories 2025-06-08 04:36:53 -04:00
MrNewb 866283162b touchup 2025-06-07 21:59:03 -04:00
MrNewb baf1c3b2a9 cleaned up intelisense, finsihed adding type to openstash, registration tweaks 2025-06-07 21:55:14 -04:00
MrNewb 05c80d9d10 feat(additemstotrunk & clearstash)
This is very wip, also a good bit of inventories dont support it at all. I have tested this in ox_inventory but not the others. uploading into repo as it does not break anything and may encourage collab
2025-06-04 15:25:20 -04:00
gononono64 ba111f1b52 Changed createshop to registershop
dont forget to update

usibg cache system for clothing
2025-05-24 22:10:39 -05:00
gononono64 b9f5a3ed64 Small fix for client entities and qb stashes and shops
Shops: aligned format with others and removed the instant open (on create)

Stashes: Updated for new version of qb (exports)

Entities: returning point object
2025-05-24 15:36:05 -05:00
gononono64 0d606bc859 Entity fix and stash update
Slimed OpenStash down to just an src and id instead of needing duplicate data.

Was not sure if this affects newb so im throwing it in a pr.
2025-05-19 07:20:23 -05:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
MrNewb e1235dfc7c reorganized, notation 2025-05-09 06:03:09 -04:00
MrNewb 485c2d3460 inv diagnostics + repacked tables 2025-05-09 02:00:02 -04:00
gononono64 bd0074a156 Inventory Update
Added serverside iteminfo and consolidated image path. Now returns full nui path in .image
2025-04-16 05:24:03 -05:00
MrNewb 801db83402 GetItemInfo fixes, oops
Ive also adjusted comments in here because it bugged me.
2025-04-12 02:30:38 -04:00
MrNewb 64d302d0da itembox patch 2025-04-10 07:03:32 -04:00
MrNewb 31f7475089 Update server.lua 2025-03-09 01:50:10 -05:00
MrNewb dee14600ba HasItem + partial support for shops 2025-03-07 04:08:40 -05:00
MrNewb 83b982c400 start to doc functs 2025-03-03 01:09:24 -05:00
MrNewb 1399b2e754 qb inventory version checking templated out 2025-02-16 07:14:09 -05:00
MrNewb d8d3c290f5 itembox started 2025-02-15 06:13:38 -05:00
MrNewb 0c90d659a0 export GetInventoryItems standard, add export GetItemBySlot 2025-01-31 19:15:33 -05:00
MrNewb 733271562d casing, RegisterModule adjustments, remove duplicate utilities table 2025-01-10 16:36:20 -05:00
MrNewb f6c503c39e f 2025-01-09 07:44:06 -05:00
MrNewb 47977ce701 version '0.0.7' 2025-01-08 06:33:31 -05:00