Log in

View Full Version : Total Experience this session



xitoz
04-27-2013, 07:34 AM
Exists on Blackd and I think it exists on other bots, idk.

Basically a HUD function that would display total experience you've gotten that session.

Spectrus
04-27-2013, 07:43 AM
local startExp = Self.Experience()
local HUDObject = HUD.New(5, 5, "Total Exp: 0", 255, 255, 255)

Module.New("hud_update", function()
HUDObject:SetText("Total Exp: " .. Self.Experience() - startExp)
end)