FX-STORE
Advanced and fully configurable store system for RedM with buy/sell mechanics, daily limits, stock system, job restrictions, and multi-framework support.
3 min read·Last updated Jun 03, 2026
On this page (23)
- 1🏪 FX-STORE
- 1.1📦 Installation
- 1.2⚙️ Basic Settings
- 1.3🌐 Locale System
- 1.4🛒 Store System
- 1.5👤 PED System
- 1.6🎭 Ped Animation / Scenario
- 1.7🗺️ Blip System
- 1.8⏰ Open / Close System
- 1.9🔐 Job Restriction
- 1.10📏 Interaction System
- 1.11💰 Buy System
- 1.12💸 Sell System
- 1.13📊 Daily Limit System
- 1.14🗂️ sellStock.json System
- 1.15⏱️ Stock Refresh System
- 1.16🔔 Notification System
- 1.17🧠 Security System
- 1.18🌐 Server Config
- 1.19🎯 Advanced Features
- 1.20⚠️ Important Notes
- 1.21🚨 Common Issues
- 1.22🏁 Summary
#🏪 FX-STORE
Advanced and fully configurable store system for RedM with buy/sell mechanics, daily limits, stock system, job restrictions, and multi-framework support.
#📦 Installation
bashensure fx-store
- Place script into your
resourcesfolder - Add
ensure fx-storeto yourserver.cfg - Restart your server
- Script uses NUI system and config-based stores
#⚙️ Basic Settings
luaConfig.Language = "en"
- Controls language system
luaConfig.Log = true
- Enables webhook logging for buy/sell
luaConfig.OpenStoreKey = 0x2CD5343E
- Default key to open store (ENTER)
luaConfig.NuiDevToolsSecurity = true
- Prevents NUI exploit (price/item manipulation)
luaConfig.DropPlayerNuiCheater = false
- If true → kicks cheaters
#🌐 Locale System
luaConfig.Locale = {
["en"] = {}
}
- Multi-language support
- Dynamic text replacement system
#🛒 Store System
luaConfig.Stores = {
{
model = "cs_nils",
coords = {
vector4(...)
}
}
}
- Defines store locations
- Supports multiple positions per store
luapromptitle = "Fishing Store"
image = "/ui/img/balikci.png"
- UI title & image
#👤 PED System
luaped = true
model = "cs_nils"
pedSpawnDistance = 30
- Store NPC system
- Distance-based spawn
#🎭 Ped Animation / Scenario
luapedScenario = "WORLD_HUMAN_SMOKE_NERVOUS_STRESSED"
- Ped idle behavior
luaanim = {
animDict = '',
animName = ''
}
- Alternative to scenario
#🗺️ Blip System
luaBlip = {
showBlip = true,
BlipSprite = -1575595762
}
- Map blip system
- Fully customizable
#⏰ Open / Close System
luaopenTimeSetting = {
allowed = true,
open = 8,
close = 21
}
- Store working hours
- If false → always open
#🔐 Job Restriction
luarequiredJobs = {
["doctor"] = "0"
}
- Restricts store access
- false → open for everyone
#📏 Interaction System
luadistance = 2.0
- Interaction range
luaConfig.Prompts = {
["store"] = {}
}
- Prompt-based interaction system
#💰 Buy System
luaBuyItems = {
{
itemName = "water",
price = 0.25
}
}
- Players can purchase items
- Supports gold/cash
luamoneytype = "gold"
- Optional currency type
#💸 Sell System
luaSellItems = {
{
itemName = "fish",
price = 0.25
}
}
- Players can sell items
#📊 Daily Limit System
luasellStock = 50
- Limits how many items can be sold per day
luabuyStock = 5
- Limits how many items can be bought
#🗂️ sellStock.json System
json{
"buy": {},
"sell": []
}
- Stores player daily limits
- Uses charid tracking
- Auto updates
#⏱️ Stock Refresh System
luaConfig.SellStockRefreshTimes = {
["06:00"] = true,
["14:00"] = true
}
- Daily reset system
luaConfig.SellStockUseUTC = false
- true → UTC time
- false → server time
luaConfig.AdminRefreshSellStockCommand = "refreshsellstock"
- Admin command to reset stock
#🔔 Notification System
luaNotify({
text = "Message"
})
- Supports VORP / RSG / REDEMRP
- Unified notify system
#🧠 Security System
luaConfig.DisableShowingItemQuantities = false
- Optimisation setting
- NUI anti-cheat system active
- Server validates all prices
- Prevents client manipulation
#🌐 Server Config
luaSV_Config.Webhook = {
url = ""
}
- Discord logging system
- Logs buy & sell actions
#🎯 Advanced Features
- Multi-store support
- Buy & Sell system
- Daily stock limit system
- Job-based stores
- Time-based store opening
- Blip & UI system
- Anti-cheat protection
- Framework independent
#⚠️ Important Notes
- Item names must match inventory
- Prices must be numeric
- sellStock requires refresh system
- Jobs must match framework
- JSON file must exist
#🚨 Common Issues
- Store not opening → wrong coords
- Cannot buy → no money
- Cannot sell → daily limit reached
- Items not showing → config error
- Stock not resetting → wrong time config
#🏁 Summary
FX-STORE provides:
- Advanced store system
- Buy / Sell mechanics
- Daily stock limits
- Job restrictions
- Full security system
- Multi-framework support
© Fixitfy Development