• DarkRP Hud
    0 replies, posted
Im trying to add a thing that shows when youre wanted and not wanted but when I put the code in nothing happens. No errors and it wont work. Heres my code. local WantedIcon = Material("icon16/star.png") local function isWanted()     if localplayer:getDarkRPVar("wanted") then         surface.SetMaterial(WantedIcon)         surface.SetDrawColor(255, 255, 255, 255)         surface.DrawTexturedRect(ScrW()*(390/1920), ScrW()*(1006/1920), 20, 20)     else         surface.SetMaterial(WantedIcon)         surface.SetDrawColor(255, 255, 255, 70)         surface.DrawTexturedRect(ScrW()*(390/1920), ScrW()*(1006/1920), 20, 20)     end end
Sorry, you need to Log In to post a reply to this thread.