Skip to content

WhereiamL/image-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox-itemimagecheck

A simple FiveM resource to check for missing item images in ox_inventory.

Features

  • Scans all registered items in ox_inventory and checks if corresponding images exist
  • Detects missing PNG and JPG images
  • Displays results in-game with notifications
  • Generates a detailed report file with timestamps
  • Shows missing items in admin chat
  • Restricted to admin use only

Requirements

  • ox_inventory
  • ox_lib
  • QBOX Framework (or other compatible framework)

Installation

  1. Download the resource
  2. Extract to your resources folder
  3. Add ensure image-checker to your server.cfg
  4. Restart your server

Usage

In-game, administrators can use the command:

/checkmissingimages

This will:

  • Check all registered items in ox_inventory
  • Verify if each item has a corresponding PNG or JPG image
  • Display missing images in the admin's chat
  • Generate a detailed report file in your resource folder

Example Output

[Missing Images Check] Found 15 items missing images out of 342 total items
Missing image for item: weapon_pistol_mk2
Missing image for item: weapon_combatpistol
Missing image for item: mechanic_tools
...

The command also creates a report file named missing_images_YYYY-MM-DD_HH-MM-SS.txt in your resource folder.

File Structure

image-checker/
├── fxmanifest.lua
├── s_checkimages.lua
└── README.md

License

This resource is released under the MIT License.

Credits

  • Created for QBOX Framework
  • Uses ox_inventory and ox_lib

Support

For issues, questions, or contributions, please create an issue or pull request on GitHub. Discord : https://discord.gg/fXQsEg6Dcz

About

A tool to check missing images in ox_inventory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages