Jump to content

طلب كود تحويل اللغه


TD[M]ER

Recommended Posts

السلام عليكم ورحمة الله وبركاته

اخواني محتاج كود اللي يغير الكلام او الصورة يغير اللغه حقته

مثل شوب تابل مثلا

قسم القوانين

فيه زر العربيه

والانجليزية

نضغط الانجليزي تجيك صورة انجليزية والعربيه تتحول الصورة لعربيه

بدون الحاجه لفتح تاب اخر

وشكرا

:D

Link to comment
  
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == arabic ) then  
rulesA = guiCreateStaticImage(0, 7, 550, 310,"1.png",false,Wnds1) 
end  
end  
 ) 
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == english ) then  
rulesE = guiCreateStaticImage(0, 7, 550, 310,"2.png",false,Wnds1) 
end  
end  
 ) 
  

.. ><

Link to comment
  
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == arabic ) then  
rulesA = guiCreateStaticImage(0, 7, 550, 310,"1.png",false,Wnds1) 
end  
end  
 ) 
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == english ) then  
rulesE = guiCreateStaticImage(0, 7, 550, 310,"2.png",false,Wnds1) 
end  
end  
 ) 
  

.. ><

ماقصرت الله يعطيك العافيه =]

:D

جاري التجربه

Link to comment

لييه تطولهآ وهي قصيره :)

addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
    if ( source == arabic ) then 
        rulesA = guiCreateStaticImage(0, 7, 550, 310,"1.png",false,Wnds1) 
    elseif ( source == english ) then 
        rulesE = guiCreateStaticImage(0, 7, 550, 310,"2.png",false,Wnds1) 
    end 
end 
 ) 

Link to comment
لييه تطولهآ وهي قصيره :)
addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
    if ( source == arabic ) then 
        rulesA = guiCreateStaticImage(0, 7, 550, 310,"1.png",false,Wnds1) 
    elseif ( source == english ) then 
        rulesE = guiCreateStaticImage(0, 7, 550, 310,"2.png",false,Wnds1) 
    end 
end 
 ) 

مشكور بلاوي ماقصرت لبى قلبكـ تسلم على مروركـ ومساعدتكـ لي

:D

بس الكود ماظبط ><

Link to comment

هذا

wnd.lua

  
GUIEditor = { 
    staticimage = {}, 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow(460, 140, 403, 436, "Rule || القوانين", false) 
        guiSetAlpha(rulsewnd, 1.00) 
        guiSetProperty(rulsewnd, "CaptionColour", "FF06D8E0") 
  
        arabic = guiCreateButton(9, 27, 191, 50, "العربيه", false, rulsewnd) 
        guiSetFont(arabic, "default-bold-small") 
        guiSetProperty(arabic, "NormalTextColour", "FF0E09C9") 
        english = guiCreateButton(201, 28, 191, 50, "English", false, rulsewnd) 
        guiSetProperty(english, "NormalTextColour", "FF09B5CA") 
        GUIEditor.staticimage[1] = guiCreateStaticImage(9, 105, 385, 273, "1.png", false, rulsewnd) 
        GUIEditor.staticimage[2] = guiCreateStaticImage(9, 105, 385, 273, "2.png", false, rulsewnd) 
        Close = guiCreateButton(117, 385, 143, 42, "OK || موافق", false, rulsewnd) 
        guiSetFont(Close, "default-bold-small") 
        guiSetProperty(Close, "NormalTextColour", "FFD30000")     
    end 
) 
  
function show() 
if guiGetVisible ( rulsewnd ) then 
  
                guiSetVisible ( rulsewnd, false ) 
                showCursor(false) 
        else 
  
                guiSetVisible ( rulsewnd, true ) 
                showCursor(true) 
        end 
end 
addCommandHandler ( "القوانين", show ) 
  
  
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == arabic ) then 
rulesA = guiCreateStaticImage(0, 7, 550, 310,"1.png",false,Wnds1) 
end 
end 
 ) 
 addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source == english ) then 
rulesE = guiCreateStaticImage(0, 7, 550, 310,"2.png",false,Wnds1) 
end 
end 
 ) 
  
  
  
  
function onGuiClick (button, state, absoluteX, absoluteY) 
if ( source ==  Close ) then  
guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) 
showCursor(guiGetVisible(GUIEditor_Window[1])) 
 end 
end  
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) 
  
  
  
  
  

meta.xml

  "TD[M]ER" description="rules" info="mod" type="Script" version="1.0" /> 
  

Link to comment
      
    GUIEditor = { 
        staticimage = {}, 
    } 
    addEventHandler("onClientResourceStart", resourceRoot, 
        function() 
            rulsewnd = guiCreateWindow(460, 140, 403, 436, "Rule || القوانين", false) 
            guiSetAlpha(rulsewnd, 1.00) 
            guiSetProperty(rulsewnd, "CaptionColour", "FF06D8E0") 
      
            arabic = guiCreateButton(9, 27, 191, 50, "العربيه", false, rulsewnd) 
            guiSetFont(arabic, "default-bold-small") 
            guiSetProperty(arabic, "NormalTextColour", "FF0E09C9") 
            english = guiCreateButton(201, 28, 191, 50, "English", false, rulsewnd) 
            guiSetProperty(english, "NormalTextColour", "FF09B5CA") 
            GUIEditor.staticimage[1] = guiCreateStaticImage(9, 105, 385, 273, "1.png", false, rulsewnd) 
            GUIEditor.staticimage[2] = guiCreateStaticImage(9, 105, 385, 273, "2.png", false, rulsewnd) 
            Close = guiCreateButton(117, 385, 143, 42, "OK || موافق", false, rulsewnd) 
            guiSetFont(Close, "default-bold-small") 
            guiSetProperty(Close, "NormalTextColour", "FFD30000")     
        end 
    ) 
      
 function show() 
if(guiGetVisible(rulsewnd)==true)then 
 guiSetVisible( rulsewnd, false ) 
showCursor(false) 
 else 
guiSetVisible ( rulsewnd, true ) 
showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
addEventHandler ("onClientGUIClick", getRootElement(), 
    function(button, state, absoluteX, absoluteY) 
    if ( source == arabic ) then 
    guiSetVisible(GUIEditor.staticimage[2],false) 
    guiSetVisible(GUIEditor.staticimage[1],true) 
    elseif ( source == english ) then 
    guiSetVisible(GUIEditor.staticimage[2],true) 
    guiSetVisible(GUIEditor.staticimage[1],false) 
    elseif ( source ==  Close ) then 
      guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) 
     showCursor(guiGetVisible(GUIEditor_Window[1])) 
   end 
 end 
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)     

Link to comment

meta.xml

  "TD[M]ER" description="rules" info="mod" type="Script" version="1.0" /> 
  

  

؟

انصحك تستخدم

"2.png"/> 

      
    GUIEditor = { 
        staticimage = {}, 
    } 
    addEventHandler("onClientResourceStart", resourceRoot, 
        function() 
            rulsewnd = guiCreateWindow(460, 140, 403, 436, "Rule || القوانين", false) 
            guiSetAlpha(rulsewnd, 1.00) 
            guiSetProperty(rulsewnd, "CaptionColour", "FF06D8E0") 
      
            arabic = guiCreateButton(9, 27, 191, 50, "العربيه", false, rulsewnd) 
            guiSetFont(arabic, "default-bold-small") 
            guiSetProperty(arabic, "NormalTextColour", "FF0E09C9") 
            english = guiCreateButton(201, 28, 191, 50, "English", false, rulsewnd) 
            guiSetProperty(english, "NormalTextColour", "FF09B5CA") 
            GUIEditor.staticimage[1] = guiCreateStaticImage(9, 105, 385, 273, "1.png", false, rulsewnd) 
            GUIEditor.staticimage[2] = guiCreateStaticImage(9, 105, 385, 273, "2.png", false, rulsewnd) 
            Close = guiCreateButton(117, 385, 143, 42, "OK || موافق", false, rulsewnd) 
            guiSetFont(Close, "default-bold-small") 
            guiSetProperty(Close, "NormalTextColour", "FFD30000")     
        end 
    ) 
      
 function show() 
if(guiGetVisible(rulsewnd)==true)then 
 guiSetVisible( rulsewnd, false ) 
showCursor(false) 
 else 
guiSetVisible ( rulsewnd, true ) 
showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
addEventHandler ("onClientGUIClick", getRootElement(), 
    function(button, state, absoluteX, absoluteY) 
    if ( source == arabic ) then 
    guiSetVisible(GUIEditor.staticimage[2],false) 
    guiSetVisible(GUIEditor.staticimage[1],true) 
    elseif ( source == english ) then 
    guiSetVisible(GUIEditor.staticimage[2],true) 
    guiSetVisible(GUIEditor.staticimage[1],false) 
    elseif ( source ==  Close ) then 
      guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) 
     showCursor(guiGetVisible(GUIEditor_Window[1])) 
   end 
 end 
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)     

مشكور جاري الترجبه شويات وارد خبر :lol:

Link to comment

ياويلك تقول مايشتغل انا مجربه ذذ

addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source ==  Button-en ) then  
guiCreateStaticImage( 75,10,450,300, "en.png", false,Tab ) 
end  
 end 
)   
---- 
addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source ==  Button-ar ) then  
guiCreateStaticImage( 75,10,450,300, "ar.png", false,Tab ) 
end  
 end 
)    

Link to comment
اطرح كودك

^ اللي كتبه مجنون فيك

  
    GUIEditor = { 
        staticimage = {}, 
    } 
    addEventHandler("onClientResourceStart", resourceRoot, 
        function() 
            rulsewnd = guiCreateWindow(460, 140, 403, 436, "Rule || القوانين", false) 
            guiSetAlpha(rulsewnd, 1.00) 
            guiSetProperty(rulsewnd, "CaptionColour", "FF06D8E0") 
      
            arabic = guiCreateButton(9, 27, 191, 50, "العربيه", false, rulsewnd) 
            guiSetFont(arabic, "default-bold-small") 
            guiSetProperty(arabic, "NormalTextColour", "FF0E09C9") 
            english = guiCreateButton(201, 28, 191, 50, "English", false, rulsewnd) 
            guiSetProperty(english, "NormalTextColour", "FF09B5CA") 
            GUIEditor.staticimage[1] = guiCreateStaticImage(9, 105, 385, 273, "1.png", false, rulsewnd) 
            GUIEditor.staticimage[2] = guiCreateStaticImage(9, 105, 385, 273, "2.png", false, rulsewnd) 
            Close = guiCreateButton(117, 385, 143, 42, "OK || موافق", false, rulsewnd) 
            guiSetFont(Close, "default-bold-small") 
            guiSetProperty(Close, "NormalTextColour", "FFD30000")     
        end 
    ) 
      
 function show() 
if(guiGetVisible(rulsewnd)==true)then 
 guiSetVisible( rulsewnd, false ) 
showCursor(false) 
 else 
guiSetVisible ( rulsewnd, true ) 
showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
addEventHandler ("onClientGUIClick", getRootElement(), 
    function(button, state, absoluteX, absoluteY) 
    if ( source == arabic ) then 
    guiSetVisible(GUIEditor.staticimage[2],false) 
    guiSetVisible(GUIEditor.staticimage[1],true) 
    elseif ( source == english ) then 
    guiSetVisible(GUIEditor.staticimage[2],true) 
    guiSetVisible(GUIEditor.staticimage[1],false) 
    elseif ( source ==  Close ) then 
      guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) 
     showCursor(guiGetVisible(GUIEditor_Window[1])) 
   end 
 end 
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)  
guiSetVisible(rulsewnd, false) 

Link to comment
ياويلك تقول مايشتغل انا مجربه ذذ
addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source ==  Button-en ) then  
guiCreateStaticImage( 75,10,450,300, "en.png", false,Tab ) 
end  
 end 
)   
---- 
addEventHandler ("onClientGUIClick", getRootElement(), 
function(button, state, absoluteX, absoluteY) 
if ( source ==  Button-ar ) then  
guiCreateStaticImage( 75,10,450,300, "ar.png", false,Tab ) 
end  
 end 
)    

:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:

مجرب الكود ولا المود حقي خخخ

Edited by Guest
Link to comment
checking = false 
  
addEventHandler( "onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || القوانين", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "العربيه", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
         
        guiSetVisible ( en, false )    
    end 
) 
      
function show() 
    if guiGetVisible(rulsewnd)==true then 
        guiSetVisible( rulsewnd, false ) 
        showCursor(false) 
    else 
        guiSetVisible ( rulsewnd, true ) 
        showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
            checking = true 
        elseif checking == true then 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
            checking = false 
        end 
    end  
end) 

Edited by Guest
Link to comment
checking = false 
  
addEventHandler( "onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || ????????", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "???????", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
         
        guiSetVisible ( en, false )    
    end 
) 
      
function show() 
    if guiGetVisible(rulsewnd)==true then 
        guiSetVisible( rulsewnd, false ) 
        showCursor(false) 
    else 
        guiSetVisible ( rulsewnd, true ) 
        showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
            checking = true 
        elseif checking == true then 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
            checking = false 
        end 
    end  
end) 

جاري

التجربه

:lol::lol::lol:

اتعبتك معي بلاوي :oops:

Link to comment
checking = false 
  
addEventHandler( "onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || القوانين", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "العربيه", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
         
        guiSetVisible ( en, false )    
    end 
) 
      
function show() 
    if guiGetVisible(rulsewnd)==true then 
        guiSetVisible( rulsewnd, false ) 
        showCursor(false) 
    else 
        guiSetVisible ( rulsewnd, true ) 
        showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
            checking = true 
        elseif checking == true then 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
            checking = false 
        end 
    end  
end) 

يشييييييييييييييييخ قسسسسسسسسسسسسسسسسسسسسسسسسسسسم بالله انك كنق

اتتتتتتتتتتتتتتتتتتتعبتك معي ي شنب

يجزااااااااااااااكـ ربي الف الف الف خير لبى قلبكـ يشيخ

سويت اللي ابيه واكثثثثثثثثثثثثثثر

خدمة ما انساها يشيييخ تسلم يدينك

:lol::lol::lol:

Link to comment
addEventHandler( "onClientResourceStart", resourceRoot, function()) 

لانك مستخدم الحدث عند تشغيل المود او بدأه

  
"onClientResourceStart" 
  

يعني امسح الكود ؟

^ مو انا اللي حاطه

انا يوم صممت اللوحة

وسويت برنت

طلع لي كذا

^ النسخة الجديدهـ من القاي ايديتور كذا

:lol:

Link to comment
table لانةة ممآ فيةة

يعني اخليه كذا

  
  
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || القوانين", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "العربيه", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
        
        guiSetVisible ( en, false )    
    end 
  
      
function show() 
    if guiGetVisible(rulsewnd)==true then 
        guiSetVisible( rulsewnd, false ) 
        showCursor(false) 
    else 
        guiSetVisible ( rulsewnd, true ) 
        showCursor(true) 
    end 
end 
addCommandHandler ( "القوانين", show ) 
guiSetVisible(rulsewnd,false) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
            checking = true 
        elseif checking == true then 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
            checking = false 
        end 
    end  
end) 
  
  
  

؟؟ :?:

Link to comment
  
checking = false 
  
addEventHandler( "onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || ????????", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "???????", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
        
        guiSetVisible (  rulsewnd, false ) 
        guiSetVisible (  ar, false ) 
        guiSetVisible (  en, false ) 
    end 
) 
      
function show() 
        guiSetVisible( rulsewnd, not guiGetVisible(rulsewnd) ) 
        showCursor(guiGetVisible(rulsewnd)) 
end 
addCommandHandler ( "القوانين", show ) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
        else 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
        end 
        checking = not checking 
    end  
end) 
  

Link to comment
  
checking = false 
  
addEventHandler( "onClientResourceStart", resourceRoot, 
    function() 
        rulsewnd = guiCreateWindow( 460, 140, 403, 436, "Rule || ????????", false ) 
        guiSetAlpha( rulsewnd, 1.00 ) 
        guiSetProperty( rulsewnd, "CaptionColour", "FF06D8E0" ) 
      
        switch = guiCreateButton( 9, 27, 191, 50, "???????", false, rulsewnd ) 
        guiSetFont( switch, "default-bold-small" ) 
        guiSetProperty( arabic, "NormalTextColour", "FF0E09C9" ) 
  
        ar = guiCreateStaticImage( 9, 105, 385, 273, "1.png", false, rulsewnd ) 
        en = guiCreateStaticImage( 9, 105, 385, 273, "2.png", false, rulsewnd ) 
        
        guiSetVisible (  rulsewnd, false ) 
        guiSetVisible (  ar, false ) 
        guiSetVisible (  en, false ) 
    end 
) 
      
function show() 
        guiSetVisible( rulsewnd, not guiGetVisible(rulsewnd) ) 
        showCursor(guiGetVisible(rulsewnd)) 
end 
addCommandHandler ( "القوانين", show ) 
  
addEventHandler ("onClientGUIClick", guiRoot, 
function( button, state, absoluteX, absoluteY ) 
    if source == switch  then 
        if checking == false then 
            guiSetText ( switch, "English" ) 
            guiSetVisible ( en, true ) 
            guiSetVisible ( ar, false ) 
        else 
            guiSetText ( switch, "عربي" ) 
            guiSetVisible ( en, false ) 
            guiSetVisible ( ar, true ) 
        end 
        checking = not checking 
    end  
end) 
  

يسسسسلمو سعد والله ماقصرت

مشكور

ظابط 20000% لبى قلبك

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...