FX-SCALE
Advanced player identity and scale editing system for RedM with NPC shops, command system, and dynamic event-based usage.
3 min readupdated 3 Jun 2026
On this page 16
#๐ฆ Installation
bashensure fx-scale
- Place the script inside your
resourcesfolder - Add
ensure fx-scaleto yourserver.cfg - Restart your server
#โ๏ธ Basic Settings
luaConfig.Debug = false
Config.Language = "en"
- Debug โ enable/disable debug mode
- Language โ system language
#๐ Locale System
luaConfig.Locale = {
["en"] = {
["errorFirstname"] = "...",
}
}
- Multi-language support
- Includes EN / TR / DE
- Fully customizable messages
#๐ฏ Command System
luaConfig.Command = {
Enable = true,
CommandName = "editplayer"
}
- Opens edit menu via command
- Example โ
/editplayer
luagroups = {"admin","mod"}
- Restricts command usage
- Leave empty โ everyone can use
luaparams = {
{ name = "id", type = "number" }
}
- Allows targeting other players
/editplayer 12
luascaleLimit = { min = 0.50, max = 1.35 }
- Defines allowed player scale range
- Prevents extreme values
luamoney = {
changename = { cash = 1 },
changescale = { cash = 1 }
}
- Defines price for changes
- Supports cash and gold
#๐ง NPC Shop System
luaConfig.Coords = {
[1] = {
npcCoord = vector4(...)
}
}
- Defines NPC shop locations
- Player interacts with NPC to open menu
luapedCoords = {
mainPed = vector4(...),
clonePed = vector4(...)
}
- Main ped โ player position
- Clone ped โ preview model
luacamera = {
coords = vector3(...),
rotation = vector3(...),
fov = 60.0
}
- Static camera for editing
- Focuses on player and clone
#๐ฏ Prompt System
luaConfig.Prompts = {
["change"] = {
Label = "EDIT PLAYER"
}
}
- Interaction prompt for NPC
- Hold key to open menu
#โ๏ธ Mode Settings
luaConfig.UseTarget = false
Config.UseCoords = true
- UseTarget โ use target system
- UseCoords โ use NPC locations
#๐ Dynamic Mode (Command & Event)
luaTriggerEvent("fx-scale:server:forceOpenMenu", source)
- Opens menu without NPC
- Works from any script
- Uses player current position
- No teleport required
- Clone ped spawns next to player
- Camera auto-adjusts
- Works with admin tools
#๐ง Features
textName Change
Scale Change
NPC System
Command System
Event System
- Change firstname & lastname
- Adjust player height (scale)
- Supports multiple usage methods
#๐ Security System
textServer-side validation
Session tracking
- All actions validated server-side
- Prevents exploit attempts
- Secure session system
#๐ฏ HUD Integration
luaConfig.HideHud = function()
Config.ShowHud = function()
- Hides HUD during menu
- Compatible with fx-hud
#๐ Notification System
luaNotify({
text = "Success"
})
- Supports VORP / RSG / REDEMRP
- Handles server & client notifications
#๐ Server Config
luaSV_Config.Webhook = {
url = ""
}
- Discord webhook system
- Logs player actions
#โ ๏ธ Important Notes
- Scale limits must be configured
- NPC coords must be valid
- Command permissions must be set
- Prices must match economy
- Target system optional
#๐จ Common Issues
- Menu not opening โ command disabled
- NPC not working โ wrong coords
- Scale not changing โ limit issue
- Name not saving โ validation failed
- Camera broken โ wrong camera config
#๐ Summary
FX-SCALE provides:
- Player identity editing
- Scale (height) system
- NPC-based shops
- Command-based usage
- Event-based integration
- Secure server validation
ยฉ Fixitfy Development