Nice release!
False, some changes need to be made to es_extended. Like salary.
Can you elaborate? Would be great to confirm if there’s an issue here and that we can fix it.
Works with qb-phone ?
Download the release, not the source code
No, but it works with NPWD, and you get an app for it for free
same…
We have been talking about it in the discord a bit. But the basic ESX salary through es_extended still goes to the basic bank. We have messed with this snippet below and some people have seen positive results but some have not.
function self.addAccountMoney(accountName, money)
if not tonumber(money) then
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number!'):format(accountName, self.playerId))
return
end
if money > 0 then
local account, index = self.getAccount(accountName)
if account then
money = account.round and ESX.Math.Round(money) or money
self.accounts[index].money += money
if accountName == 'bank' then
exports.pefcl:addBankBalance(self.source, {
amount = money,
message = "Bank Transfer"
})
end
self.triggerEvent('esx:setAccountMoney', account)
else
print(('[^1ERROR^7] Tried To Set Add To Invalid Account ^5%s^0 For Player ^5%s^0!'):format(accountName, self.playerId))
end
else
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number!'):format(accountName, self.playerId))
end
end
function self.removeAccountMoney(accountName, money)
if not tonumber(money) then
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number!'):format(accountName, self.playerId))
return
end
if money > 0 then
local account, index = self.getAccount(accountName)
if account then
if accountName == 'bank' then
exports.pefcl:removeBankBalance(self.playerId, {
amount = ESX.Math.Round(money),
message = reason and tostring(reason) or 'Untilted'
})
return
end
money = account.round and ESX.Math.Round(money) or money
self.accounts[index].money -= money
self.triggerEvent('esx:setAccountMoney', account)
else
print(('[^1ERROR^7] Tried To Set Add To Invalid Account ^5%s^0 For Player ^5%s^0!'):format(accountName, self.playerId))
end
else
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number!'):format(accountName, self.playerId))
end
end
Also… same problem…
Check latest version of pefcl-esx
@inQer You too
Hello, I uploaded the latest version: pefcl and pefcl-esx.
I turned off qtarget in the config and the option to get to the bank is still missing…
UPDATE:
Everything is fine after update: v1.0.8. There are no payments coming into the account yet and it is not possible to create an account on ESX. !
UPDATE: v1.0.10 All okey
Great!
Translation update
We now have translations for the following languages:
- Bulgarian
bg
- Croatian
hr
- Czech
cs
- Danish
da
- Dutch
nl
- Finnish
fi
- French
fr
- German
de
- Lithuanian
lt
- Norwegian Bokmål
nb
- Polish
pl
- Spanish
es
- Swedish
sv
need italian one
and how okok banking doing that ?
mean a payment from job not showing on bank ?
Everything works as it should. Just try it.
thanks buddy
i have this error help please:
SCRIPT ERROR: @qb-pefcl/server.lua:130: attempt to call a nil value (field ‘SyncMoney’)