Rewards
The rewards system supports multiple types: money, item, weapon, and vehicle.
Reward Configuration
Each reward requires the following parameters:
- type: The type of reward (
"money","item","weapon", or"vehicle") - amount: The quantity (for money, items, or weapon ammo)
- itemname: The item/weapon/vehicle spawn name (set to
nilfor money) - imageUrl: The path to the reward image
- label: The display name for the reward
Example Rewards
Money Reward
[1] = {
type = "money",
amount = 500,
itemname = nil,
imageUrl = "./assets/rewards/money.png",
label = "Money"
}
Item Reward
[2] = {
type = "item",
amount = 3,
itemname = "goldbar",
imageUrl = "./assets/rewards/goldbar.png",
label = "Gold Bar"
}
Weapon Reward
[5] = {
type = "weapon",
amount = 1,
itemname = "weapon_revolver",
imageUrl = "./assets/rewards/revolver.png",
label = "Revolver"
}
Vehicle Reward
[31] = {
type = "vehicle",
amount = 1,
itemname = "adder",
imageUrl = "./assets/rewards/adder.png",
label = "Adder"
}
Complete Rewards List
The script includes 31 pre-configured rewards (one for each day of the month):
| Day | Reward Type | Item | Amount | |-----|-------------|------|--------| | 1 | Money | Cash | $500 | | 2 | Item | Gold Bar | 3 | | 3 | Item | Ruby | 2 | | 4 | Item | Mobile | 1 | | 5 | Weapon | Revolver | 1 | | 6 | Money | Cash | $1,000 | | 7 | Item | Emerald Ring | 1 | | 8 | Item | Bratte | 5 | | 9 | Item | Weed | 20 | | 10 | Weapon | Knife | 1 | | 11 | Item | Radio | 1 | | 12 | Money | Cash | $1,000 | | 13 | Item | Cigarette | 20 | | 14 | Item | First Aid | 5 | | 15 | Weapon | SNS Pistol | 1 | | 16 | Item | Strawberry | 20 | | 17 | Item | Hunting Bait | 10 | | 18 | Money | Cash | $1,500 | | 19 | Item | Catrice | 5 | | 20 | Item | Lockpick | 2 | | 21 | Item | Rope | 1 | | 22 | Item | Sprunk | 10 | | 23 | Item | Gold Chip | 50 | | 24 | Item | Donut | 10 | | 25 | Weapon | SMG | 1 | | 26 | Money | Cash | $2,000 | | 27 | Item | Cryptostick | 1 | | 28 | Item | Meth | 50 | | 29 | Item | Adrenaline | 5 | | 30 | Item | Emerald | 5 | | 31 | Item | Repair Kit | 5 |
Adding Custom Rewards
You can modify or add new rewards by editing the Rewards table in the configuration file. Make sure to:
- Use the correct reward type
- Provide valid item/weapon spawn names
- Include an image file in the assets folder
- Set appropriate amounts