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:
rex2630
2020-02-26 13:46:39 +01:00
committed by GitHub
parent 3e52e7ece0
commit 6a0e69e9a1
3 changed files with 67 additions and 86 deletions
+1 -1
View File
@@ -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)