Configuration
Configuration guide of Money Wash Script.
Money Wash Script Configuration Guide
This guide provides detailed instructions for configuring the STG Money Wash Script for FiveM. The script allows players to launder their black money at designated locations, with flexible options for framework detection, police requirements, and interaction types.
Main Configuration
Config.Framework
Description: This setting determines which framework the script will use. You can choose between
"esx"
,"qb"
, or"auto"
. If set to"auto"
, the script will automatically detect the active framework on your server, providing flexibility for different setups.Example:
Config.Locales
Description: This option allows you to choose the language for the script. The available options are
'EN'
(English),'DE'
(German),'FR'
(French), and'SP'
(Spanish).Example:
Config.InteractType
Description: Choose the interaction method players will use for interacting with the money wash locations. Options include text UI, draw text, and target interactions. You can enable or disable each type as per your preference.
Example:
Money Laundering Settings
Config.BlackMoneyItem
Description: Defines the item used as black money in your server. Players will need this item to launder money.
Example:
Config.MinPolice
Description: Set the minimum number of police officers required to be online for the laundering process to be available. If fewer police are online, players won't be able to use the laundering locations.
Example:
Config.TimePerAmount
Description: Defines the amount of time (in seconds) it takes to launder a specific amount of black money.
Example:
Locations
Config.EnterLocations
Description: This section defines the entrance locations for laundering black money. You can configure NPC (ped) settings, blip settings, and more for each location.
Example:
Config.Locations
Description: These are the actual money laundering locations where players can go to clean their black money. You can add or modify these coordinates to match the locations on your server.
Example:
Police Jobs
Config.PoliceJobs
Description: This table defines the police jobs that will be counted towards the police minimum requirement. You can add additional police job titles if needed.
Example:
Notifications
Config.Notification
Description: This function handles how notifications are displayed to players. It is compatible with both ESX and QBCore notifications, and you can customize how these notifications are triggered.
Example:
Framework Detection
getFramework()
Description: This function detects and returns the active framework (ESX or QBCore). If
Config.Framework
is set to "auto", the script will automatically check which framework is running and return the corresponding framework object.Example:
Last updated