SkatCh Posted August 30, 2014 Share Posted August 30, 2014 guys if i want to create dxDrawImage turn like loading what can i do . Link to comment
John Smith Posted August 30, 2014 Share Posted August 30, 2014 English please oh yeah, he is spoke on chinese, probably just a little rare mistake. i think he meant how can he draw a gif animation which would be loading gif animation there is a 'Useful function' for that https://wiki.multitheftauto.com/wiki/DxDrawGifImage Link to comment
xXMADEXx Posted August 30, 2014 Share Posted August 30, 2014 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
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