From 0049d678e5c9b620e6ff27518f095c030e17e8db Mon Sep 17 00:00:00 2001 From: Don <30905704+ddh3@users.noreply.github.com> Date: Wed, 6 Sep 2017 21:45:44 -0700 Subject: [PATCH] Fixed dirty money, buying from black market Updated if zone=="BlackWeashop" - was not removing money from dirty money when purchasing guns --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 9fe64e37..413999c7 100644 --- a/server/main.lua +++ b/server/main.lua @@ -40,7 +40,7 @@ AddEventHandler('esx_weashop:buyItem', function(itemName, price, zone) local xPlayer = ESX.GetPlayerFromId(source) local account = xPlayer.getAccount('black_money') - if zone=="blackweashop" then + if zone=="BlackWeashop" then if account.money >= price then xPlayer.removeAccountMoney('black_money', price)