mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
Merge pull request #734 from iSentrie/patch-8
fix(es_extended): allow set account to 0 too
This commit is contained in:
@@ -205,7 +205,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
|
||||
print(('[^1ERROR^7] Tried To Set Account ^5%s^0 For Player ^5%s^0 To An Invalid Number -> ^5%s^7'):format(accountName, self.playerId, money))
|
||||
return
|
||||
end
|
||||
if money > 0 then
|
||||
if money >= 0 then
|
||||
local account = self.getAccount(accountName)
|
||||
|
||||
if account then
|
||||
|
||||
Reference in New Issue
Block a user