Electrosumm Posted August 20, 2015 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?
MAB Posted August 20, 2015 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
Electrosumm Posted August 20, 2015 Author Posted August 20, 2015 when i do like the wiki i dont see the time too..
KariiiM Posted August 20, 2015 Posted August 20, 2015 Time must be defined too, for example: local time = "seconds lefts"
DNL291 Posted August 21, 2015 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.
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