Jump to content

طلب اكواد الشوب


MR.Su1T4N

Recommended Posts

شوف تابل هذا الكلينت

  
GUIEditor = { 
    tab = {}, 
    window = {}, 
    tabpanel = {} 
} 
  
        GUIEditor.window[1] = guiCreateWindow(235, 139, 385, 329, "", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetVisible (GUIEditor.window[1], false) 
  
        GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 21, 367, 299, false, GUIEditor.window[1]) 
  
        GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) 
  
        scoreB1 = guiCreateButton(79, 101, 215, 103, "Kills", false, GUIEditor.tab[1]) 
        guiSetFont(scoreB1, "sa-gothic")     
  
  
bindKey ( "F2" , "down" , function() 
    guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) 
    showCursor(not isCursorShowing()) 
    end 
) 
  

edit:

شباب تكفون شوفولي حل

Edited by Guest
Link to comment
addEventhandler ("onClientGUIClick"MR.5u1T4N, getRootElement(), 
  
function(bool, element, string) 
  
if (source == h ) then 
  
triggerserverEvent("s",getRootElement(), greetinghandler ) 

^هذا التريقر حق الكلينت كذا^

addEventHandler("onClientGUIClick",root, 
    function() 
        if ( source == h ) then 
        triggerServerEvent ("NameTrigger", getLocalPlayer())     
        end 
    end 
) 

Link to comment
  
--Client 
addEventHandler("onClientGUIClick",root, 
        function() 
            if ( source == h ) then 
            triggerServerEvent ("giveMoney", getLocalPlayer())    
            end 
        end 
    ) 

  
--Server 
addEvent( "giveMoney", true ) 
addEventHandler( "giveMoney", root, 
        function() 
        givePlayerMoney ( source, 50000 ) 
        end 
) 
  

اذا اللاعب ضغط زر h

يعطيه 50000

Link to comment
  
addEventHandler("onClientGUIClick",root, 
        function() 
        local money = getPlayerMoney(source)    
            if ( source == btn ) then 
        outputChatBox("Your Money: " ..money, source, 255, 127, 0, true) 
            end 
        end 
) 

جرب

Link to comment
  • 3 weeks later...

انا سويت الكود بس مدري صح او خطاء

  
addEventHandler("onClientGUIClick",root, 
        function tab() 
if ( source == GUIEditor.button[2] ) then 
local tab = guiCreateTab (tab) 
end 
) 

edit:

شباب تكفون ساعدوني ابي بس هذا اخر شيء

Edited by Guest
Link to comment
  • 2 weeks later...

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...