Theme editor

  • If you experience issues login with Discord, reset your password and wait 3 minutes for the email!

QBCORE BB-Banking fixed

Is there a preview or screenshot we can see? Why do you have to buy credits to be able to even see things like previews I dont get it.
 
hi, i'am sorry for my english but can you help me , i want execute

CashoutCore.Functions.CreateUseableItem("visa", function(source, item)
ExecuteCommand("atm")
end)

Width

RegisterCommand('atm', function(source, args, rawCommand)
local src = source
local xPlayer = CashoutCore.Functions.GetPlayer(src)
local visas = xPlayer.Functions.GetItemsByName('visa')
local masters = xPlayer.Functions.GetItemsByName('mastercard')
local cards = {}
.....

But i have this error

SCRIPT ERROR: @rl-atms/server/main.lua:59: attempt to index a nil value (local 'xPlayer')
ref (@cash-extraresources/server/consumables.lua:18)
UseItem (@coaframework/server/functions.lua:101)
handler (@coaframework/server/events.lua:149)
 
Back
Top Bottom