Doffy Posted January 26, 2017 Share Posted January 26, 2017 ابي اول ما الواحد يضغط علي زر مرة يغير الكلام الي مكتوب في الازرار لعربي واول ما يضغط مره تانيه يرجعه للانجليزي زي ما كان هذي محاوتلي addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[7] ) then guiSetText(GUIEditor.button[1],"%100 اخذ دم") guiSetText(GUIEditor.button[2],"100% اخذ درع") guiSetText(GUIEditor.button[3],"وضع لون للسيارة") guiSetText(GUIEditor.button[4],"أخذ سيارة") guiSetText(GUIEditor.button[5],"أصلاح السيارة") guiSetText(GUIEditor.button[6],"شخصية لفل 1") guiSetText(GUIEditor.button[7],"English") elseif ( source == GUIEditor.button[7] ) then guiSetText(GUIEditor.button[1],"Take Health 100%") guiSetText(GUIEditor.button[2],"Take Armour 100%") guiSetText(GUIEditor.button[3],"Set Vehicle Color") guiSetText(GUIEditor.button[4],"Take Vehicle") guiSetText(GUIEditor.button[5],"Fix Vehicle") guiSetText(GUIEditor.button[6],"Level 1 Skin") guiSetText(GUIEditor.button[7],"عربي") end end ) Link to comment
Abdul KariM Posted January 26, 2017 Share Posted January 26, 2017 (edited) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[7] ) then if ( guiGetText ( source ) == "English" ) then guiSetText(GUIEditor.button[1],"%100 اخذ دم") guiSetText(GUIEditor.button[2],"100% اخذ درع") guiSetText(GUIEditor.button[3],"وضع لون للسيارة") guiSetText(GUIEditor.button[4],"أخذ سيارة") guiSetText(GUIEditor.button[5],"أصلاح السيارة") guiSetText(GUIEditor.button[6],"شخصية لفل 1") guiSetText(GUIEditor.button[7],"عربي") else guiSetText(GUIEditor.button[1],"Take Health 100%") guiSetText(GUIEditor.button[2],"Take Armour 100%") guiSetText(GUIEditor.button[3],"Set Vehicle Color") guiSetText(GUIEditor.button[4],"Take Vehicle") guiSetText(GUIEditor.button[5],"Fix Vehicle") guiSetText(GUIEditor.button[6],"Level 1 Skin") guiSetText(GUIEditor.button[7],"English") end end end ) Edited January 26, 2017 by Abdul KariM Link to comment
Doffy Posted January 26, 2017 Author Share Posted January 26, 2017 1 minute ago, Abdul KariM said: جرب addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[7] ) then if ( guiGetText ( source ) == "English" ) then guiSetText(GUIEditor.button[1],"%100 اخذ دم") guiSetText(GUIEditor.button[2],"100% اخذ درع") guiSetText(GUIEditor.button[3],"وضع لون للسيارة") guiSetText(GUIEditor.button[4],"أخذ سيارة") guiSetText(GUIEditor.button[5],"أصلاح السيارة") guiSetText(GUIEditor.button[6],"شخصية لفل 1") guiSetText(GUIEditor.button[7],"English") else guiSetText(GUIEditor.button[1],"Take Health 100%") guiSetText(GUIEditor.button[2],"Take Armour 100%") guiSetText(GUIEditor.button[3],"Set Vehicle Color") guiSetText(GUIEditor.button[4],"Take Vehicle") guiSetText(GUIEditor.button[5],"Fix Vehicle") guiSetText(GUIEditor.button[6],"Level 1 Skin") guiSetText(GUIEditor.button[7],"عربي") end end end ) موب شغال Link to comment
Abdul KariM Posted January 26, 2017 Share Posted January 26, 2017 عدلته جرب مره ثانية Link to comment
Doffy Posted January 26, 2017 Author Share Posted January 26, 2017 1 minute ago, Abdul KariM said: عدلته جرب مره ثانية شكرا اخوي اشتغل 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