• Hud Help
    3 replies, posted
So i am using a AHud for darkrp and my jobs are like this TEAM_US_PRIVATE = DarkRP.createJob("Private", {     color = Color(25, 25, 25, 255),     model = "models/player/gman_high.mdl",     description = [[Your a shit cunt]],     weapons = {"", ""},     command = "",     max = 1,     salary = 0,     admin = 0,     vote = false,     hasLicense = false,     category = "OTHER", regiment = "Army" , }) And for the job name i want it to show the Regiment text if GAMEMODE.Config.showjob then                 local data = {                     text = self:getDarkRPVar("job") or team.GetName(self:Team()),                     pos = {46, 32},                     font = "aHUD22",                     xalign = TEXT_ALIGN_LEFT,                     yalign = TEXT_ALIGN_TOP,                     color = color_black                 }                 draw.TextShadow(data, 1, 230)                 draw.SimpleText(self:getDarkRPVar("job") or team.GetName(self:Team()), "aHUD22", 46, 32, Color(170, 170, 170), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP)             end 
What works right now? Does any of the HUD render
if LocalPlayer():getJobTable().regiment then draw.SimpleText(LocalPlayer():getJobTable().regiment, "font", x, y, color ) end
label = "Super job", -- Optional: the text on the button in the F4 menu Taken from wiki.
Sorry, you need to Log In to post a reply to this thread.