MrJuhis Posted November 22, 2014 Share Posted November 22, 2014 I can't see my occupation on my screen. Help! local sx,sy = guiGetScreenSize() local px,py = 1600,900 local x,y = (sx/px), (sy/py) addEventHandler("onClientRender", root, function(source) dxDrawText( "Current Job: "..getElementData ( source, "Occupation" ).., x*10, y*863, x*247, y*891, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, true, false, false) -- Your Text Bottom Left end ) Link to comment
TAPL Posted November 22, 2014 Share Posted November 22, 2014 local sx,sy = guiGetScreenSize() local px,py = 1600,900 local x,y = (sx/px), (sy/py) addEventHandler("onClientRender", root, function() dxDrawText( "Current Job: "..getElementData ( localPlayer, "Occupation" ), x*10, y*863, x*247, y*891, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", false, false, true, false, false) -- Your Text Bottom Left end ) 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