Jump to content

about interpolateBetween


SkatCh

Recommended Posts

To create a rotating image, all you have to do is set a rotation variable and update it every render.

local r = 0 
addEventHandler ( "onClientRender", root, function ( ) 
    dxDrawImage ( 0, 0, 100, 100 "myImgxD.png", r ); 
    r = r + 1 
    if ( r >= 359 ) then 
        r = 0 
    end 
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...