Alexander23 Posted June 27, 2013 Share Posted June 27, 2013 Good morning all. I think you know some server which have some moving script like toptimes, userpanels and more and I think this is referece to dx scripting. Now I want to someone can help me to learn how to make a script to move.Please help . Link to comment
xXMADEXx Posted June 27, 2013 Share Posted June 27, 2013 Well, here is a ghetto example that you can use: local y = 0 local rx, ry = guiGetScreenSize function text ( ) if ( y == 20 ) then break end dxDrawRectangle ( 0, y, rx ry ) y = y + 2 end addEventHandler ( "onClientRender", root, text ) Link to comment
Alexander23 Posted June 27, 2013 Author Share Posted June 27, 2013 Well, I don't know how to script . Where do I put that code? Link to comment
Vector Posted June 27, 2013 Share Posted June 27, 2013 https://wiki.multitheftauto.com/wiki/Scripting_Introduction https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI 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