Custom Framework
Here you can read how to implement your own framework
Where?
How?
Am I doing it right?
elseif Config.Framework == Frameworks.STEVE then
QBCore = {}
ESX = {}
Steve = ... -- function to get object of your framework
ESX.GetPlayerFromId = function(source)
local xPlayer = {}
local stevePlayer = Steve.GetPlayer(source)
---------
xPlayer.getMoney = function()
return stevePlayer.GetMoney("cash") -- ***
end
---------
... -- and other needed functions here
return xPlayer
end
endLast updated