+Source|> Posted June 14, 2017 Share Posted June 14, 2017 سلام عليكم كيف اسوي في اللوحه سواء للابل او الازرار الوان متكرره Link to comment
MR.StoRm Posted June 14, 2017 Share Posted June 14, 2017 Label : setTimer guiLabelSetColor math.random Button : "onClientResourceStart" setTimer getElementsByType guiSetProperty math.random Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 14/06/2017 at 23:45, MR.StoRm said: Label : setTimer guiLabelSetColor math.random Button : "onClientResourceStart" setTimer getElementsByType guiSetProperty math.random Expand مثال؟ Link to comment
MR.StoRm Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 00:11, A7MEDENO said: مثال؟ Expand حاول ورح أساعدك Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 00:12, MR.StoRm said: حاول ورح أساعدك Expand GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], math.random(255),math.random(255),math.random(255) ) Link to comment
#Soking Posted June 15, 2017 Share Posted June 15, 2017 (edited) On 15/06/2017 at 00:50, A7MEDENO said: GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], math.random(255),math.random(255),math.random(255) ) Expand Edited June 15, 2017 by #Soking Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 00:53, #Soking said: Expand !! #Edit: كيف يا شاب عطوني مثال Link to comment
F_F Posted June 15, 2017 Share Posted June 15, 2017 (edited) test GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) addEventHandler ( "onClientResourceStart", root, function ( ) setTimer(function() guiSetProperty(GUIEditor.button[1], "NormalTextColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 50, 0) Edited June 15, 2017 by F_F Link to comment
Master_MTA Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 02:12, F_F said: test GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( GUIEditor.button[1], math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 300, 0 ) end ) Expand حبيبي انا كنت مؤدب معك مره واثنين ونصحتك مره واثنين اروهذي الثالثه ارجوك لا تساعد احد غلط @!#NssoR_) شوف حل مع الاخ يا قلبي كانه يتعمد وضع الاخطاء في اكواده Link to comment
^iiEcoo'x_) Posted June 15, 2017 Share Posted June 15, 2017 @F_F استعمل https://wiki.multitheftauto.com/wiki/Rgb2hex احسن وافضل Link to comment
MR.StoRm Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 00:50, A7MEDENO said: GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], math.random(255),math.random(255),math.random(255) ) Expand طيب صح ! Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 09:53, MR.StoRm said: طيب صح ! Expand نو ما اشتغل Link to comment
^iiEcoo'x_) Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 09:53, MR.StoRm said: طيب صح ! Expand نو , اذا استخدم الفنكشن هذا ^ لازم يستعمل tl tr bl br Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 14:50, #_iMr.[E]coo said: نو , اذا استخدم الفنكشن هذا ^ لازم يستعمل tl tr bl br Expand وش ذي وكيف استعملها Link to comment
^iiEcoo'x_) Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 14:51, A7MEDENO said: وش ذي وكيف استعملها Expand هذي الوان , استخدم فنكشن guiLabelSetColor Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 14:54, #_iMr.[E]coo said: هذي الوان , استخدم فنكشن guiLabelSetColor Expand انا ما ابيها للابل ابيها للزر Link to comment
^iiEcoo'x_) Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 02:12, F_F said: test GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(227, 112, 334, 362, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(29, 70, 270, 77, "تجربة", false, GUIEditor.window[1]) addEventHandler ( "onClientResourceStart", root, function ( ) setTimer(function() guiSetProperty(GUIEditor.button[1], "NormalTextColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end, 50, 0) Expand متاكد انك مسوي الكود ؟ + صاحب الموضوع ، طلبك هنا Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 string.format("%.2X%.2X%.2X%.2X" وش هي وش فايدتها وهل لازم تكون موجوده Link to comment
iMr.WiFi..! Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 15:23, A7MEDENO said: string.format("%.2X%.2X%.2X%.2X" وش هي وش فايدتها وهل لازم تكون موجوده Expand هذي لتحويل الارقام الى الهيكس او اكواد الهيكس Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 18:19, iMr.WiFi..! said: هذي لتحويل الارقام الى الهيكس او اكواد الهيكس Expand هل هو ثابت في اي لوحه ول يتغير من زر لاخر Link to comment
iMr.WiFi..! Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 18:19, A7MEDENO said: هل هو ثابت في اي لوحه ول يتغير من زر لاخر Expand مافهمت =.= Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 18:20, iMr.WiFi..! said: مافهمت =.= Expand يعني هي لما اسوي اي لوحه تكون نفسها ول اغيرها في كل زر Link to comment
iMr.WiFi..! Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 18:21, A7MEDENO said: يعني هي لما اسوي اي لوحه تكون نفسها ول اغيرها في كل زر Expand اذا تبي تلون كل ازرار السيرفر تقدر تسوي لوب على الالمنتات بأسم gui-button وتغير اللون حقه باستعمال : guiSetProperty Link to comment
+Source|> Posted June 15, 2017 Author Share Posted June 15, 2017 On 15/06/2017 at 18:26, iMr.WiFi..! said: اذا تبي تلون كل ازرار السيرفر تقدر تسوي لوب على الالمنتات بأسم gui-button وتغير اللون حقه باستعمال : guiSetProperty Expand شكرا Link to comment
MR.StoRm Posted June 15, 2017 Share Posted June 15, 2017 On 15/06/2017 at 18:28, A7MEDENO said: شكرا Expand منا اعطيتك فوق نفس الشيء -__- , 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