Functions
All editable axr_hudv1 functions
Functions are made for a basic Dunko vRP base. If your functions are not matching please edit vRP. functions from config/config.lua
Config = {}
Config.getPlayerMoney = function(user_id)
if user_id then
local playerMoney = {
cash = vRP.getMoney { user_id },
bank = vRP.getBankMoney { user_id },
}
return playerMoney;
end
end
Config.getPlayerSurvival = function(user_id)
if user_id then
local vitals = {
food = math.ceil(100 - vRP.getHunger { user_id }),
drink = math.ceil(100 - vRP.getThirst { user_id }),
}
return vitals;
end
end
Last updated