FX-PEDMENU
Advanced ped menu system for RedM that allows players to change their character model, manage ped requests, and integrate seamlessly with frameworks like VORP a
3 min readupdated 3 Jun 2026
On this page 23
- Installation
- SQL Setup
- Basic Configuration
- Locale System
- Ped Time System
- Kid Ped Settings
- Ped Categories
- Command System
- Character Refresh System
- After Model Change
- HUD Integration
- Notification System
- Exports
- Version Checker
- Server Config
- Framework Integration
- VORP REQUIRED EDIT
- Character Load Override
- Reload After Death
- Reload Command
- Important Notes
- Common Issues
- Summary
#๐ฆ Installation
bashensure fx-pedmenu
- Place the script inside your
resourcesfolder - Add
ensure fx-pedmenuto yourserver.cfg - Restart your server
#๐๏ธ SQL Setup
sqlCREATE TABLE IF NOT EXISTS `fx_pedmenu`
CREATE TABLE IF NOT EXISTS `fx_pedmenu_admin`
- Stores player ped data and admin requests
- Required for saving ped selections and approvals
#โ๏ธ Basic Configuration
luaConfig.OpenMenu = "pedmenu"
Config.Language = "en"
- Command to open ped menu โ
/pedmenu - Language system for UI and notifications
#๐ Locale System
luaConfig.Locale = {
["en"] = {
["successrequest"] = "..."
}
}
- Multi-language support
- Fully customizable messages
#โณ Ped Time System
luaConfig.PedTimeSettings = {
[1] = 1,
[2] = 7,
[3] = 30,
[4] = 60,
[5] = 90
}
- Defines how long a ped can be used (in days)
- Minimum 1, maximum 5 options
#๐ถ Kid Ped Settings
luaConfig.UseWeaponKidPeds = true
- Allows child peds to use weapons
luaConfig.whitelistKidWeapons = {
[GetHashKey("WEAPON_MELEE_KNIFE")] = true
}
- Restricts allowed weapons for kid peds
luaConfig.KidPedModels = {
["cs_mixedracekid"] = true
}
- Defines which models are considered kid peds
#๐งฉ Ped Categories
luaPedList = {
{ name = "MAN PEDS" },
{ name = "WOMEN PEDS" },
{ name = "ANIMAL PEDS" }
}
- All ped categories are defined in
peds.lua - Fully customizable list system
- Supports unlimited ped entries
#๐ฏ Command System
lua/pedmenu
- Opens ped selection menu
- Automatically detects framework
#๐ Character Refresh System
luaConfig.RefreshCharacter = function(data)
- Reloads character after ped change
- VORP โ
/rc - RSG โ
/loadskin
#๐จ After Model Change
luaConfig.AfterSetPlayerModel = function()
- Runs after ped is applied
- You can add custom logic here
#๐ฅ๏ธ HUD Integration
luaConfig.HideHud = function()
Config.ShowHud = function()
- Automatically hides HUD when menu opens
- Works with fx-hud
#๐ Notification System
luaNotify({
text = "Message",
type = "success"
})
- Supports VORP and RSG frameworks
- Handles server & client notifications
#๐ค Exports
luaexports['fx-pedmenu']:GetLastPed()
- Returns last used ped model
luaexports['fx-pedmenu']:LoadLastPed()
- Loads saved ped model with attributes
#๐ Version Checker
luaversionchecker.lua
- Automatically checks for updates from GitHub
- Prints update logs in console
#๐ Server Config
luaSV_Config.Webhook = {
url = "YOUR_WEBHOOK"
}
- Sends logs to Discord webhook
- Optional system
#โ๏ธ Framework Integration
- Supports VORP and RSG automatically
- Uses internal framework detection
- No manual switch required
#๐ง VORP REQUIRED EDIT
#๐ Character Load Override
luaLoadPlayerComponents(...)
- Required for ped persistence after reload
#๐ด Reload After Death
luavorpcharacter:reloadafterdeath
- Ensures last ped is restored after death
#๐ต Reload Command
luaRegisterCommand(Config.ReloadCharCommand, ...)
- Loads last ped if available
- Falls back to default character
#โ ๏ธ Important Notes
- SQL must be installed before use
- Do not mix with old pedmenu versions
- Max 5 PedTimeSettings allowed
- Framework auto-detection must work properly
#๐จ Common Issues
- Ped not saving โ SQL missing
- Ped not loading โ VORP edit not applied
- Menu not opening โ wrong command
- Kid ped weapon issues โ whitelist not configured
#๐ Summary
FX-PEDMENU provides:
- Advanced ped switching system
- Admin request & approval system
- Full framework compatibility
- Persistent ped saving system
- Export-based integration system
- Highly customizable ped categories
ยฉ Fixitfy Development