⚙️ Configuration Options

The system includes various customizable parameters found in config.lua. Example:

PA.MoneyLaunder = {
    LaunderingTime = 30, -- Time required to complete laundering (in seconds)
    PoliceAlertChance = 20, -- 20% chance of alerting the police
    ConversionRate = 0.75, -- Players receive 75% of the laundered money
    MaxAmountPerSession = 50000, -- Maximum dirty money that can be laundered in one session
    Cooldown = 300, -- Cooldown time (in seconds) before a player can launder again
    Locations = {
        {x = 1135.89, y = -989.23, z = 46.11},
        {x = -1215.64, y = -332.23, z = 37.78},
    }
}

Key Configuration Options

  • LaunderingTime: Defines how long laundering takes.

  • PoliceAlertChance: Determines the probability of law enforcement being notified.

  • ConversionRate: Controls how much of the dirty money is successfully laundered.

  • MaxAmountPerSession: Limits how much money can be processed at one time.

  • Cooldown: Implements a cooldown before laundering can be attempted again.

  • Locations: Defines multiple laundering locations for dynamic gameplay.

🚔 Police Integration

  • If the police alert triggers, an event will notify online officers.

  • Configurable alert methods: Dispatch, chat messages, or blip markers.

  • If esx_policejob or qb-police is enabled, officers receive notifications automatically.

🔄 Anti-Abuse Protection

  • Cooldown System: Prevents continuous money laundering spam.

  • Session Limit: Players cannot exceed a set amount per laundering session.

  • Blacklist System: Admins can blacklist certain players from using the laundering system.

  • Logging System: Tracks laundering activities in the server logs for moderation.

🚀 Conclusion

The PA Money Laundering System is a realistic and balanced way to integrate money laundering into FiveM roleplay servers. It offers full customization, police integration, and anti-exploit features to maintain fairness and engagement. Modify the settings to fit your server’s economy and enhance the criminal roleplay experience!

Last updated

Was this helpful?