mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
Support for newest ESX + Minor cleanup (#29)
* Support for newest ESX * Minor cleanup * Moved all coords to vector3 types * Moved all coords to vector3 types
This commit is contained in:
+1
-1
@@ -43,5 +43,5 @@ end)
|
||||
ESX.RegisterServerCallback('esx_accessories: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