+Source|> Posted June 14, 2017 Posted June 14, 2017 سلام عليكم كيف اسوي في اللوحه سواء للابل او الازرار الوان متكرره
MR.StoRm Posted June 14, 2017 Posted June 14, 2017 Label : setTimer guiLabelSetColor math.random Button : "onClientResourceStart" setTimer getElementsByType guiSetProperty math.random
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 25 minutes ago, MR.StoRm said: Label : setTimer guiLabelSetColor math.random Button : "onClientResourceStart" setTimer getElementsByType guiSetProperty math.random مثال؟
MR.StoRm Posted June 15, 2017 Posted June 15, 2017 1 minute ago, A7MEDENO said: مثال؟ حاول ورح أساعدك
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 37 minutes ago, MR.StoRm 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) )
#Soking Posted June 15, 2017 Posted June 15, 2017 (edited) 3 minutes ago, 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) ) Edited June 15, 2017 by #Soking
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 1 hour ago, #Soking said: !! #Edit: كيف يا شاب عطوني مثال
F_F Posted June 15, 2017 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
Master_MTA Posted June 15, 2017 Posted June 15, 2017 1 minute ago, 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 ) حبيبي انا كنت مؤدب معك مره واثنين ونصحتك مره واثنين اروهذي الثالثه ارجوك لا تساعد احد غلط @!#NssoR_) شوف حل مع الاخ يا قلبي كانه يتعمد وضع الاخطاء في اكواده
^iiEcoo'x_) Posted June 15, 2017 Posted June 15, 2017 @F_F استعمل https://wiki.multitheftauto.com/wiki/Rgb2hex احسن وافضل
MR.StoRm Posted June 15, 2017 Posted June 15, 2017 9 hours ago, 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) ) طيب صح !
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 4 hours ago, MR.StoRm said: طيب صح ! نو ما اشتغل
^iiEcoo'x_) Posted June 15, 2017 Posted June 15, 2017 4 hours ago, MR.StoRm said: طيب صح ! نو , اذا استخدم الفنكشن هذا ^ لازم يستعمل tl tr bl br
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 1 minute ago, #_iMr.[E]coo said: نو , اذا استخدم الفنكشن هذا ^ لازم يستعمل tl tr bl br وش ذي وكيف استعملها
^iiEcoo'x_) Posted June 15, 2017 Posted June 15, 2017 Just now, A7MEDENO said: وش ذي وكيف استعملها هذي الوان , استخدم فنكشن guiLabelSetColor
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 1 minute ago, #_iMr.[E]coo said: هذي الوان , استخدم فنكشن guiLabelSetColor انا ما ابيها للابل ابيها للزر
^iiEcoo'x_) Posted June 15, 2017 Posted June 15, 2017 12 hours ago, 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) متاكد انك مسوي الكود ؟ + صاحب الموضوع ، طلبك هنا
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 string.format("%.2X%.2X%.2X%.2X" وش هي وش فايدتها وهل لازم تكون موجوده
iMr.WiFi..! Posted June 15, 2017 Posted June 15, 2017 2 hours ago, A7MEDENO said: string.format("%.2X%.2X%.2X%.2X" وش هي وش فايدتها وهل لازم تكون موجوده هذي لتحويل الارقام الى الهيكس او اكواد الهيكس
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 Just now, iMr.WiFi..! said: هذي لتحويل الارقام الى الهيكس او اكواد الهيكس هل هو ثابت في اي لوحه ول يتغير من زر لاخر
iMr.WiFi..! Posted June 15, 2017 Posted June 15, 2017 Just now, A7MEDENO said: هل هو ثابت في اي لوحه ول يتغير من زر لاخر مافهمت =.=
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 Just now, iMr.WiFi..! said: مافهمت =.= يعني هي لما اسوي اي لوحه تكون نفسها ول اغيرها في كل زر
iMr.WiFi..! Posted June 15, 2017 Posted June 15, 2017 Just now, A7MEDENO said: يعني هي لما اسوي اي لوحه تكون نفسها ول اغيرها في كل زر اذا تبي تلون كل ازرار السيرفر تقدر تسوي لوب على الالمنتات بأسم gui-button وتغير اللون حقه باستعمال : guiSetProperty
+Source|> Posted June 15, 2017 Author Posted June 15, 2017 1 minute ago, iMr.WiFi..! said: اذا تبي تلون كل ازرار السيرفر تقدر تسوي لوب على الالمنتات بأسم gui-button وتغير اللون حقه باستعمال : guiSetProperty شكرا
MR.StoRm Posted June 15, 2017 Posted June 15, 2017 57 minutes ago, A7MEDENO said: شكرا منا اعطيتك فوق نفس الشيء -__- ,
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