Skip to content

⏸️ FX-PAUSEMENU

Advanced pause menu system for RedM with animations, rewards system, leaderboard, hotkeys display, and full framework compatibility.


📦 INSTALLATION

bash
ensure fx-pausemenu

• Place the script inside resources/fx-pausemenu • Add ensure fx-pausemenu to your server.cfg • Restart your server


⚙️ BASIC SETTINGS

lua
Config.Language = "en"

• Defines system language • Used for UI and notifications


🎬 PAUSE ANIMATION SYSTEM

lua
Config.PauseMenuAnimation = {
  Random = true,
  Animations = {
    {scenario = "WORLD_HUMAN_WRITE_NOTEBOOK"}
  }
}

• Plays animation when pause menu is opened • Random → selects random animation • Supports scenario and prop-based animations


🎯 ACTION REQUIREMENT SYSTEM

lua
Config.ActionRequirements = {
  map = {
    enabled = true,
    item = "map",
    amount = 1
  }
}

• Requires item to use certain actions • Example → map requires "map" item • Can be disabled


📊 LEADERBOARD SYSTEM

lua
Config.LeaderboardLimits = {
  weekly = 10,
  total = 50
}

• Limits leaderboard display • weekly → weekly top players • total → all-time players


⏱️ SAVE SYSTEM

lua
Config.SaveInterval = 60

• Saves player playtime periodically • Value is in seconds • Prevents data loss


🎁 DAILY REWARD SYSTEM

lua
Config.DailyRewards = {
  [1] = {
    label = "Daily Reward #1",
    requiredTime = 60
  }
}

• Rewards based on playtime • requiredTime → minutes required • Includes money and item rewards


lua
Config.DailyResetHour = 0

• Resets daily rewards at specific hour • Example → 0 = midnight


lua
Config.DailyResetCmdCommand = "resetdaily"

• Command to reset rewards manually


🏆 WEEKLY REWARD SYSTEM

lua
Config.EnableWeeklyRewards = true
Config.WeeklyResetDay = "monday"
Config.WeeklyResetHour = 20

• Enables weekly rewards • Rewards top players by playtime • Automatically distributed


lua
Config.WeeklyRewards = {
  [1] = {
    label = "First Player #1"
  }
}

• Defines rewards for top players • Supports money and items


📈 TOTAL TIME REWARD SYSTEM

lua
Config.TotalTimeRewards = {
  [1] = {
    label = "5 Hours",
    requiredTime = 300
  }
}

• Rewards based on total playtime • Permanent progression rewards • Encourages long-term play


🎮 HOTKEY SYSTEM

lua
Config.Hotkeys = {
  ["Z"] = {label = "Ragdoll"},
  ["B"] = {label = "Point Finger"}
}

• Displays keybinds in UI • Helps new players • Fully customizable


🎯 HUD CONTROL

lua
Config.HideHud = function()
Config.ShowHud = function()

• Automatically hides HUD when menu opens • Works with fx-hud • Optional system


🔔 NOTIFY SYSTEM

lua
Notify({
  text = "Reward claimed",
  type = "success"
})

• Framework-based notification system • Supports VORP / RSG / REDEMRP


🌐 LOCALE SYSTEM

lua
Config.Locale = {
  ["en"] = {
    ["rewardClaimed"] = "You received: ${items}"
  }
}

• Multi-language support • Fully customizable messages


⚙️ SERVER CONFIG

lua
SV_Config.Webhook = {
  url = "YOUR_WEBHOOK",
  logo = "...",
  banner = "...",
  color = 16775871
}

• Discord logging system • Sends events to webhook • Optional but recommended


🔧 VORP SETUP

lua
self.Joblabel = function(value)

• Required for job label sync • Updates job label in UI • Must be replaced in vorp_core


⚠️ IMPORTANT NOTES

• Rewards depend on playtime • Daily reset must be configured • Weekly rewards require EnableWeeklyRewards • HUD integration requires fx-hud • Locale must match selected language


🚨 COMMON MISTAKES

• Rewards not working → wrong time config • Leaderboard empty → playtime not saved • Animation not playing → invalid scenario • HUD not hiding → fx-hud not running • Webhook not sending → invalid URL


🏁 SUMMARY

FX-PAUSEMENU provides:

• Advanced pause menu system • Daily / weekly reward system • Leaderboard system • Animation system • Hotkey UI system • Full framework compatibility


© Fixitfy Development

⚡ Premium RedM scripts crafted with performance & quality in mind.