πRewards
Explanation of the rewards configuration in the script
Explanation of parameters
day β The specific day on which the reward should be available.
item β The display name (label) of the reward item.
respname β The internal identifier (respawn name) of the item that should be given.
count β The quantity of the item to be rewarded.
image β The path to the item's image. The default path is ./images/respname.png, but you can also use NUI paths.
rarity β The rarity of the item, which is displayed in the user interface (UI).
Config.Rewards = {
['basic'] = {
[1] = { day = 1, item = 'Water', respname = 'water', count = 1, rarity = 'gray', image = './images/water.png' },
[2] = { day = 2, item = 'Bread', respname = 'bread', count = 1, rarity = 'gray', image = './images/bread.png' },
...
},
['premium'] = {
[1] = { day = 1, item = 'Water', respname = 'water', count = 1, rarity = 'gray', image = './images/water.png' },
[2] = { day = 2, item = 'Bread', respname = 'bread', count = 1, rarity = 'gray', image = './images/bread.png' },
...
}
}Last updated