Config
This document covers all configuration options available in the 5s_skinmenu script.
Server Configuration
config/server/configServer.lua
ConfigServer = {
TileLoadingThreads = 4, -- Number of threads used to load tiles faster
}Configuration Options
TileLoadingThreads
number
4
Number of threads for loading tile images
TileLoadingThreads Details:
Recommended: Set below your server's CPU thread count
Higher values: Faster tile loading, but increased CPU usage
Lower values: Slower loading, but less CPU impact
Range: 1-8 (practical maximum)
Performance Considerations
For Low-End Servers:
ConfigServer = {
TileLoadingThreads = 2, -- Reduced for lower CPU usage
}For High-End Servers:
Data Configuration
data/pedModels.lua
This file defines available character models for selection. Note!: If you change this, make sure to also change it in fivem-greenscreener\client.lua and regenerate all ped tiles.
Adding New Models
Add to PedModels table:
Model Requirements
Models must be valid GTA V ped models
Ensure models are available on client-side
Test models in-game before adding to production
Localization
locales/en.json
Default English translations for UI elements.
locales/pl.json
Polish translations (example of additional language).
Adding New Languages
Create new locale file:
locales/yourlang.jsonCopy structure from en.json
Translate all strings
Configure ox_lib to use new locale (defaults to en.json, if any key is missing)
Locale Structure
Last updated