Chaos Posted July 10, 2013 Posted July 10, 2013 hello i have problem with dxdraw can you help me? addEventHandler("onClientRender", root, function() local myfont = dxCreateFont("ZOMBI.ttf", 20 ) local myfont1 = dxCreateFont("ZOMBI.ttf", 32 ) dxDrawText("$0",815,125,988,188, tocolor(0, 200, 0, 255), 1, myfont1, "left", "top", false, false, false) dxDrawText(" 100%", 885, 61, 946, 93, tocolor(255, 0, 0, 255), 1, myfont, "left", "top", false, false, false) dxDrawText(" 100%", 885, 88, 946, 120, tocolor(255, 255, 255, 255), 1, myfont, "left", "top", false, false, false) end )
Castillo Posted July 10, 2013 Posted July 10, 2013 local myfont = dxCreateFont("ZOMBI.ttf", 20 ) local myfont1 = dxCreateFont("ZOMBI.ttf", 32 ) That has to be outside of the onClientRender event. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted July 10, 2013 Posted July 10, 2013 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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