Gravestone Posted February 25, 2016 Share Posted February 25, 2016 I want to add shade to nametags. I tried this: dxDrawText ( playerName, sx, sy - offset, sx, sy - offset, tocolor(0,0,0,200), textScale*Nametags_Size*0.8, myfont, "center", "bottom", false, false, false, true, true ) dxDrawText ( playerName, sx, sy - offset, sx, sy - offset, tocolor(r,g,b,255), textScale*Nametags_Size*0.7, myfont, "center", "bottom", false, false, false, true, true ) Result : http://imgur.com/A5mki3i Link to comment
Bonus Posted February 25, 2016 Share Posted February 25, 2016 Dont change the fontsize. Just -1 on x and +1 on y. dxDrawText ( playerName, sx-1, sy - offset+1, sx-1, sy - offset+1, tocolor(0,0,0,200), textScale*Nametags_Size*0.7, myfont, "center", "bottom", false, false, false, true, true ) dxDrawText ( playerName, sx, sy - offset, sx, sy - offset, tocolor(r,g,b,255), textScale*Nametags_Size*0.7, myfont, "center", "bottom", false, false, false, true, true ) Link to comment
Gravestone Posted February 26, 2016 Author Share Posted February 26, 2016 Thanks @Bonus! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now