From 3ad074ed1031f81d58e23ec69537c21e7fa78658 Mon Sep 17 00:00:00 2001 From: Warlikeprince Date: Fri, 14 Jun 2024 13:37:18 +0530 Subject: [PATCH 1/3] Update config.lua --- config.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.lua b/config.lua index b65452b..60db947 100644 --- a/config.lua +++ b/config.lua @@ -26,6 +26,8 @@ Config = { Duty = vector3(894.88, -179.22, 74.7), + Rewards = '', + Advanced = { Bonus = { Enabled = true, From a8316f022f2e08517a8380502e8d5e198780fc84 Mon Sep 17 00:00:00 2001 From: Warlikeprince Date: Fri, 14 Jun 2024 13:38:21 +0530 Subject: [PATCH 2/3] Update main.lua --- server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/main.lua b/server/main.lua index e588940..427cb0f 100644 --- a/server/main.lua +++ b/server/main.lua @@ -39,8 +39,8 @@ RegisterNetEvent('qb-taxi:server:NpcPay', function(payment, hasReceivedBonus) local chance = math.random(1, 100) if chance < 26 then - exports['qb-inventory']:AddItem(src, 'cryptostick', 1, false, false, 'qb-taxi:server:NpcPay') - TriggerClientEvent('qb-inventory:client:ItemBox', src, QBCore.Shared.Items['cryptostick'], 'add') + exports['qb-inventory']:AddItem(src, Config.Rewards, 1, false, false, 'qb-taxi:server:NpcPay') + TriggerClientEvent('qb-inventory:client:ItemBox', src, QBCore.Shared.Items[Config.Rewards], 'add') end else DropPlayer(src, 'Attempting To Exploit') From 426719ecc9f201c4ef515e2acb6b44b8a5a9ee1b Mon Sep 17 00:00:00 2001 From: Warlikeprince Date: Fri, 14 Jun 2024 13:39:28 +0530 Subject: [PATCH 3/3] Update config.lua --- config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 60db947..0a6b554 100644 --- a/config.lua +++ b/config.lua @@ -26,7 +26,7 @@ Config = { Duty = vector3(894.88, -179.22, 74.7), - Rewards = '', + Rewards = 'cryptostick', Advanced = { Bonus = {