baba Posted March 14, 2015 Share Posted March 14, 2015 سلام عليكم شباب ابي كود الالوان بوضح مثال انا عامل لوحه وفي الوحه زر اسمه موافق او اغلاق مو مهم المهم كيف اخلي الزر ذا يتلون مو لون واحد بس الزر يسير يطلع كل شويه لون غير وكذا ارجو التوضيح Link to comment
xAbO-d7mY Posted March 14, 2015 Share Posted March 14, 2015 ججرب ذذ setTimer(function() guiButtonSetColor(أسم الزر, math.random(0,255), math.random(0,255), math.random(0,255)) end, 800, 0) Link to comment
baba Posted March 14, 2015 Author Share Posted March 14, 2015 يعطيك العافيه على ردك الي بي يا حب ركبته بس ما زبط انا بحط لكم الزر الي ابيه يتلون GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, " اغلاق", false, GUIEditor.window) Link to comment
Mr-M3AND Posted March 14, 2015 Share Posted March 14, 2015 GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, " اغلاق", false, GUIEditor.window) setTimer(function() guiSetProperty(GUIEditor.cancelar, "NormalTextColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 400, 0) Link to comment
xb0 Posted March 16, 2015 Share Posted March 16, 2015 GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, " اغلاق", false, GUIEditor.window) انت حاط مسافه على كلمه اغلاق هي الخطاء بس شيلها وخل الزر كذا GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, "اغلاق", false, GUIEditor.window) فا يصير كود تلون الزر كذا setTimer(function() guiSetProperty(اغلاق, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 250, 0) جرب الكود اكيد يضبط + هذا كلينت Link to comment
The Killer Posted March 16, 2015 Share Posted March 16, 2015 (edited) GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, " اغلاق", false, GUIEditor.window) انت حاط مسافه على كلمه اغلاق هي الخطاء بس شيلها وخل الزر كذا GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, "اغلاق", false, GUIEditor.window) فا يصير كود تلون الزر كذا setTimer(function() guiSetProperty(اغلاق, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 250, 0) جرب الكود اكيد يضبط + هذا كلينت شكلك ما تعرف الفاريبل زين الي هي المتغيرات المتغير ماهو بالارقمنت المتغير هو الي يكون كذا مثال test = Nothing Edited March 16, 2015 by Guest Link to comment
Mr.T9 Posted March 16, 2015 Share Posted March 16, 2015 لول مشكور بس ما زبط local bu = اسم الزر setTimer(function()guiSetProperty(bu, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255)))end, 250, 0) Link to comment
Mr-M3AND Posted March 16, 2015 Share Posted March 16, 2015 لول مشكور بس ما زبط GUIEditor.cancelar = guiCreateButton(157, 397, 127, 28, " اغلاق", false, GUIEditor.window) setTimer(function() guiSetProperty(GUIEditor.cancelar, "NormalTextColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 400, 0) Link to comment
xb0 Posted March 16, 2015 Share Posted March 16, 2015 لول مشكور بس ما زبط الزر اشتغل ولا كل شي ماشتغل ؟ + هات الميتا حقك Link to comment
baba Posted March 16, 2015 Author Share Posted March 16, 2015 لالا مشكور اشتغل يعطيكو الف عافيه 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