Electrosumm Posted August 20, 2015 Share Posted August 20, 2015 expected horizontal align at argument 9 ,got boolean dxDrawText( time, xx+50, 20, 370, 120, tocolor ( 7, 235, 249, 255 ), 1,"left",false,false,true,true) whats wrong? Link to comment
MAB Posted August 20, 2015 Share Posted August 20, 2015 expected horizontal align at argument 9 ,got boolean dxDrawText( time, xx+50, 20, 370, 120, tocolor ( 7, 235, 249, 255 ), 1,"left",false,false,true,true) whats wrong? wrong parameters.. the 9th parameter should be "left" not false and the "left" should be the font read this well DxDrawText if didn't work then check if the lua file is set as server not client Link to comment
KariiiM Posted August 20, 2015 Share Posted August 20, 2015 Also, be sure you defined "xx" Link to comment
Electrosumm Posted August 20, 2015 Author Share Posted August 20, 2015 when i do like the wiki i dont see the time too.. Link to comment
KariiiM Posted August 20, 2015 Share Posted August 20, 2015 Time must be defined too, for example: local time = "seconds lefts" Link to comment
DNL291 Posted August 21, 2015 Share Posted August 21, 2015 local xx = 20 local twidth = dxGetTextWidth( time ) dxDrawText( time, xx+50, 20, (xx+50)+twidth, 120, tocolor ( 7, 235, 249, 255 ), 1, "default","left","top",false,false,true,true) Try it. 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