Jump to content

سؤال


Recommended Posts

السلام عليكم

سؤالي مثلا كيف بس اطقس على البوتون الي في guieditor

تطلع لي صفحه احط فيها الرقم الي ابي اوزعه

--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
  
  
GUIEditor = { 
    staticimage = {}, 
    edit = {}, 
    button = {}, 
    window = {}, 
    gridlist = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(184, 87, 476, 412, "مود توزيع فلوس By Hassan", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetAlpha(GUIEditor.window[1], 1.00) 
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(9, 18, 457, 384, ":guieditor/images/examples/money.png", false, GUIEditor.window[1]) 
  
        GUIEditor.gridlist[1] = guiCreateGridList(355, 1, 102, 383, false, GUIEditor.staticimage[1]) 
        GUIEditor.button[1] = guiCreateButton(246, 3, 103, 53, "توزيع", false, GUIEditor.staticimage[1]) 
        GUIEditor.edit[1] = guiCreateEdit(243, 60, 108, 24, "", false, GUIEditor.staticimage[1]) 
        GUIEditor.button[2] = guiCreateButton(6, 262, 160, 44, "توزيع الى جميع السيرفر", false, GUIEditor.staticimage[1]) 
        GUIEditor.edit[2] = guiCreateEdit(2, 320, 164, 25, "", false, GUIEditor.staticimage[1])     
    end 
) 
changeGridListItemToPlayersName = function ( GridList, Column ) 
    if GridList and Column then  
        if getElementType ( GridList ) == "gui-gridlist" then  
            if guiGridListClear ( GridList ) then 
                for i, v in next, getElementsByType ( "player" ) do  
                    guiGridListSetItemText ( GridList, guiGridListAddRow ( GridList ), Column, string.gsub ( getPlayerName ( v ), "#%x%x%x%x%x%x", "" ), false, false ); 
                end; 
            end; 
        end; 
    end; 
end; 
  
  
  
  

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