Jump to content

[HELP]MoveImage


Brad96

Recommended Posts

local screenWidth, screenHeight = guiGetScreenSize() 
local x = 0 
    addEventHandler("onClientRender", root, function () 
x = x + 0.01 
    local a , b = 50 , 100 
        local x, y = interpolateBetween ( 
            a, b, 0, 
            a+10, b+20, 0, 
            x, "Linear") 
    dxDrawImage( screenWidth - x, screenHeight - y , 63 , 62 ,"test.png",0.0,0.0,0.0,tocolor(255,255,255,200),false) 
    end) 

Good, I found this forum .. hopefully not bother

I would like to explain to me what each line and the need to put in the script to achieve the image makes its effect or movement .. thanks: D

is for do it my script

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