benwilkins Posted April 21, 2012 Posted April 21, 2012 I have put the following code into my script: local x, y = guiGetScreenSize() dxDrawRectangle ( x/800.8, y/860, 1000*10, 1000, tocolor ( 0, 0, 0, 220) ) But if you look at the image below, there is a small line at the left and the top where the rectangle does not cover. I have tried messing with the x/ and y/ values, but it doesnt do anything. http://puu.sh/qIEw Any ideas?
Absence2 Posted April 21, 2012 Posted April 21, 2012 (edited) yes just draw it like this: local sX, sY = guiGetScreenSize() dxDrawRectangle ( 0, 0, sX, sY, tocolor(0, 0, 0, 220), false ) Edited April 21, 2012 by Guest
Michael# Posted April 21, 2012 Posted April 21, 2012 yesjust draw it like this: local sX, sY = guiGetScreenSize() dxDrawRectangle, 0, 0, sX, sY, tocolor(0, 0, 0, 220), false ) Your code is wrong.
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