⚙️Config
Dadi Rewards - Configuration Guide
Welcome to the configuration guide for Dadi Rewards script. Below you will find a detailed explanation of each configuration option available in the script, allowing you to customize the script to better fit your server's needs.
General Configuration
Dadi.Marker
: Sets a numerical value that might represent a specific location or event ID where rewards can be claimed.Dadi.Coord
: Establishes the coordinates (vec3
) for a location in the game world, where players can go to claim their rewards.Dadi.ModelName
: An array containing strings of model names (e.g., vehicles) that a player can receive as a reward. The system will randomly select one for the player.Dadi.ServerName
: A string to define the name of the server or the game environment. It's used in messages to provide a personalized experience.Dadi.EnableCashBonus
,Dadi.AmountCashBonus
,Dadi.EnableBankBonus
,Dadi.AmountBankBonus
,Dadi.EnableBlackMoneyBonus
,Dadi.AmuontBlackMoneyBonus
,Dadi.EnableCoinsCustom
,Dadi.CustomCoinsName
,Dadi.AmountCoinsCustom
: These settings control various types of bonuses a player can receive, including cash, bank credits, "black money" (illegally obtained money), or custom server-specific currency. Each type of bonus has an "enable" flag that turns it on or off and an amount to specify how much of the bonus is granted.Dadi.PlateLetters
,Dadi.PlateNumbers
,Dadi.PlateUseSpace
: Configuration for generating vehicle license plates when a player receives a car reward. It defines how many letters and numbers the plate should have and whether a space is used.Dadi.TypeofVehicle
,Dadi.TypeofGarage
: Specifies the type of vehicle players can receive (such as cars, bikes, trucks, etc.) and the type/category of garage (identified by characters or names) where the vehicle can be collected.Text messages (
Dadi.BonusClaimed
,Dadi.MoneyAdded
,Dadi.BankAdded
,Dadi.BlackAdded
,Dadi.CoinsAdded
,Dadi.VehicleAdded
,Dadi.Label
): Customizable strings that are displayed to the player upon claiming their rewards or receiving notifications about what they've received. These help in providing feedback and guiding players through the reward claiming process.
Overall, this block of code allows for the customization and implementation of a rewards system within your FiveM server, enhancing the player experience by offering tangible incentives.
Last updated