Go to config.lua and add for each item this line:
amount = ‘2’,
This should look like this:
[1] = {
item = ‘weapon_p226’, --Item name in your inventory. Can be any item.
amount = ‘2’,
image = ‘img/weapon_p226.png’, --Image location of item. This can also be changed to a remote image, ex ‘https://i.imgur.com/aCTLp4L.png’
weight = 70 --Weighted chance of item dropping. Higher the number, higher the chance. 70/100 == high chance, common. 5/100 == low chance, rare. Duh.
},
NOTICE! You need to add the amount line to each item !
Then go to server/main.lua and edit line 29 to be like this:
if Player.Functions.AddItem(Config.Rewards[k][random][‘item’], Config.Rewards[k][random][‘amount’]) then