kukimuki Posted June 28, 2023 Share Posted June 28, 2023 why i cant see the text? white = "#FFFFFF" local s = Vector2(guiGetScreenSize()); local show = false; function render() dxDrawRectangle(s.x/2-200,s.y/2-100,400,200,tocolor(0,0,0,180)); dxDrawRectangle(s.x/2-203,s.y/2-100,3,200,tocolor(255,0,0,180)); dxDrawText("Immortal Play - Admin Help",0,s.y/2-100,s.x,200,tocolor(255,255,255), 1, e:getFont("rage", 15), "center", "top"); end addEventHandler("onClientRender",root,render); addEventHandler("onClientKey",root,function(button,state) if show then if button == "mouse1" and state then end end end); Link to comment
Prever77 Posted June 29, 2023 Share Posted June 29, 2023 Server Side Client Side ElementTree Link to comment
Shady1 Posted July 8, 2023 Share Posted July 8, 2023 On 28/06/2023 at 20:37, kukimuki said: why i cant see the text? white = "#FFFFFF" local s = Vector2(guiGetScreenSize()); local show = false; function render() dxDrawRectangle(s.x/2-200,s.y/2-100,400,200,tocolor(0,0,0,180)); dxDrawRectangle(s.x/2-203,s.y/2-100,3,200,tocolor(255,0,0,180)); dxDrawText("Immortal Play - Admin Help",0,s.y/2-100,s.x,200,tocolor(255,255,255), 1, e:getFont("rage", 15), "center", "top"); end addEventHandler("onClientRender",root,render); addEventHandler("onClientKey",root,function(button,state) if show then if button == "mouse1" and state then end end end); dxDrawText("Immortal Play - Admin Help", 0, s.y/2-100, s.x, 200, tocolor(0, 0, 0), 1, e:getFont("rage", 15), "center", "top"); 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