Jump to content

Help preciso q o image feche junto com interpolate


Recommended Posts

addEvent ("LimpouChat", true)
addEventHandler ("LimpouChat", root, chat)

function limpochat()
    local pox,_,_ = interpolateBetween(-200, 0, 0, 200, 0, 0, ((getTickCount() - tick15) / 2500), "OutElastic")
    dxDrawRectangle(x*24, y*20, x*313, y*47, tocolor(32, 31, 31, 255), false)
    dxDrawRectangle(x*24, y*64, x*313, y*6, tocolor(114, 137, 218, fade), false)
    dxDrawText(""..nome.."#FFFFFF Limpou o chat !", x*130, y*55, x*213, y*28, tocolor(255, 255, 255, 255), x*1.25, "default-bold", "center", "center", false, false, true, true, false)
    dxDrawImage(x * 33, y * 10, x * 33, y * 57, 'home.png')
end 

function animclose ()
    local fade,pox,_ = interpolateBetween(100, 200, 0, 0, 200, 0, ((getTickCount() - tick52) / 2500), "Linear")
    dxDrawRectangle(x*24, y*20, x*313, y*47, tocolor(32, 31, 31, fade), false)
    dxDrawRectangle(x*24, y*64, x*313, y*6, tocolor(114, 137, 218, fade), false)
    dxDrawText(""..nome.."#FFFFFF Limpou o chat !", x*130, y*55, x*213, y*28, tocolor(255, 255, 255, fade), x*1.25, "default-bold", "center", "center", false, false, true, true, false)
    dxDrawImage(x * 33, y * 10, x * 33, y * 57,fade 'home.png')
end

Link to comment

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...