momar5700 Posted October 1, 2015 Share Posted October 1, 2015 wnd = guiCreateStaticImage(0,-268,389,268,"abed.png",false) english = guiCreateButton(0.0231,0.0284,0.0566,0.1082,"En",true,wnd) guiSetFont(english,"default-bold-small") guiSetVisible(wnd,false) setTimer(function() guiSetProperty(english, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) arabic = guiCreateButton(0.0848,0.0284,0.0566,0.1082,"Ar",true,wnd) guiSetFont(arabic,"default-bold-small") setTimer(function() guiSetProperty(arabic, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) user_l = guiCreateLabel(0.0206,0.1903,0.9614,0.0784,"Username",true,wnd) function Color ( ) guiLabelSetColor (user_l, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( Color, 1000, 0 ) guiLabelSetHorizontalAlign(user_l,"center",false) guiSetFont(user_l,"default-bold-small") user = guiCreateEdit(0.0231,0.2724,0.9537,0.1306,"",true,wnd) setTimer(function() guiSetProperty(user, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) pass_l = guiCreateLabel(0.0206,0.4216,0.9614,0.0784,"Password",true,wnd) function Color ( ) guiLabelSetColor (pass_l, math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( Color, 1000, 0 ) guiLabelSetHorizontalAlign(pass_l,"center",false) guiSetFont(pass_l,"default-bold-small") pass = guiCreateEdit(0.0231,0.5187,0.9537,0.1306,"",true,wnd) setTimer(function() guiSetProperty(pass, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 100, 0) guiEditSetMasked(pass,true) remember = guiCreateCheckBox(0.0231,0.6642,0.3728,0.0746,"Remember Me !!",false,true,wnd) guiSetFont(remember,"default-bold-small") setTimer(function() guiSetProperty(remember, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) reg = guiCreateButton(0.5244,0.7724,0.3239,0.153,"Register",true,wnd) guiSetFont(reg,"default-bold-small") setTimer(function() guiSetProperty(reg, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) login = guiCreateButton(0.144,0.7724,0.3239,0.153,"Login",true,wnd) guiSetFont(login,"default-bold-small") setTimer(function() guiSetProperty(login, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 1000, 0) انا بس ابي اعدل علي لوحة تسجيل بس مش عارف لانها كدا arabic = guiCreateButton(0.0848,0.0284,0.0566,0.1082,"Ar",true,wnd) وانا مثلا ابي احداثيات زر كدا 621, 372, 125, 125, ولاكن لما اغيرها لاكدا arabic = guiCreateButton(621, 372, 125, 125, "Ar",true,wnd) الاقي زر راح ليه لو سمحتم ابي حد يعلممني كيف اعدل عليه بس هو ده طلبي لاغير ياريت مساعدة Link to comment
!#NssoR_) Posted October 1, 2015 Share Posted October 1, 2015 اذا تبي تخليه ارقام زي كذا 442 شوف اخر شي بالكود arabic = guiCreateButton(621, 372, 125, 125, "Ar",true,wnd) true كلمة وحط الارقام false غيرها الي 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