mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Further cleanup
This commit is contained in:
+1
-1
@@ -14,5 +14,5 @@ end)
|
||||
ESX.RegisterServerCallback('esx_barbershop:checkMoney', function(source, cb)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
cb(xPlayer.get('money') >= Config.Price)
|
||||
cb(xPlayer.getMoney() >= Config.Price)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user