Hey Guys,
Is it possible to include the DarkRP Leveling System (GitHub) in another hud? (I am using aHUD)
And if, how?
sure just use this:
ply:getDarkRPVar('xp',) ply:getDarkRPVar('level',)
and try to design ur hud ..
local xp = LocalPlayer():getDarkRPVar("xp") or ""
local level = LocalPlayer():getDarkRPVar("level") or ""
if you want to use locals
draw.SimpleText(LocalPlayer():Name() LocalPlayer():getDarkRPVar("level"), "aHUD28", 90, Scrh - HUDHeight + 12, aHUD.Color, TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)
I tried this code but I´m just getting my name displayed (no errors in the console)...
Sorry, you need to Log In to post a reply to this thread.