Troubleshooting
Common issues and solutions for BIT-ClothingShop v.2.
Common Issues
Problem: Images don't generate
Solution:
- Verify screenshot-basic is installed and started before bit-clothingshop
- Check that your character is using a male ped
- Ensure you're using the correct command (
/updateclothesby default) - Make sure test mode is configured correctly
- Check the server console for any errors
Problem: Script doesn't start
Solution:
- Verify the resource name hasn't been changed
- Check that screenshot-basic dependency is installed
- Ensure the SQL table has been imported
- Verify framework configuration matches your server
- Check server console for error messages
Problem: Clothing images are missing
Solution:
- Complete the full image generation process
- Verify images were generated in the resource folder
- Restart the resource after image generation
- Check that the clothing items exist on your server
- Ensure test mode is disabled for full catalog
Problem: Players can't purchase clothing
Solution:
- Verify players have sufficient money
- Check that the framework is configured correctly
- Ensure the clothing category is enabled in the store configuration
- Verify database connection is working
- Check for conflicting clothing scripts
Problem: Store markers/blips not showing
Solution:
- Verify blip and marker settings are enabled in config
- Check coordinates are correct
- Restart the resource
- Ensure no other scripts are conflicting with markers
- Verify client-side script is running
Additional Troubleshooting Tips
Screenshot-basic Issues
- Ensure screenshot-basic is the latest compatible version
- Check that it starts before bit-clothingshop in server.cfg
- Verify the dependency is not being blocked by antivirus
- Test screenshot-basic functionality independently
Database Issues
- Confirm the SQL table was created correctly
- Verify oxmysql or your MySQL resource is running
- Check database credentials are correct
- Ensure proper table permissions
Performance Issues
- Adjust
Photos.Sleepvalue (higher = slower but more reliable) - Reduce
Photos.ResizeWidthfor smaller image sizes - Use JPEG format instead of PNG for smaller file sizes
- Consider generating images during low server population
- Optimize generated images after creation
Framework Compatibility
- Double-check framework configuration matches your server
- Verify you're using a compatible version of ESX/QB-Core/QBox
- Check that framework exports are working correctly
- Ensure inventory system is compatible
Image Quality Issues
- Adjust
Photos.ImageQualityfor JPEG format - Increase
Photos.ResizeWidthfor higher resolution - Check camera positions for proper angles
- Verify lighting at the photo location
[!TIP] Enable debug mode (
Config.debugMode = true) to help identify issues and see garment names in the F8 console.