Jump to content

i need help


Sticmy

Recommended Posts

Posted (edited)

use loop

local w, h = 200, 100
for k=1, w do
  dxDrawRectangle(x+k, y, 1, h, tocolor(0, 0, 0, k/w*255))
end

 

Edited by </Mr.Tn6eL>

skype : 011101000110111000110110011001010110110000110000001110010011000000111001

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...