Common Issues
This page contains most of issues that you can quickly solve by yourself
AP Creator No Permissions
If you receive this notification, but you are the server administrator, it means that the checkPermissions function located in server/framework/*.lua file is incorrectly configured.
Doors not working after script restart
This bug appears when you use ox_doorlock as doorlock system. After adding new doors and restarting script you have to watch console if there is any message informing you about required restart of ox_doorlock script.
Error when purchasing an apartment using Bank method
This error is related to wrong configuration of Config.PaymentOptions['bank']. It mostly appears when QBCore is setted as current framework (Config.Framework.Name) and you didn't configure Config.PaymentOptions['bank'] functions. Below is example config for bank payments on QBCore
['bank'] = {
label = "Bank",
get = function(source)
return QBCore.Functions.GetPlayer(source).Functions.GetMoney('bank')
end,
add = function(source, amount)
QBCore.Functions.GetPlayer(source).Functions.AddMoney('bank', amount)
end,
remove = function(source, amount)
QBCore.Functions.GetPlayer(source).Functions.RemoveMoney('bank', amount)
end
}Last updated