Jump to content

طلب مساعده بسيطه


Recommended Posts

انا معطيك مثال وانت زودت عليه ذذ

GUIEditor = { 
    gridlist = {}, 
    window = {}, 
    button = {} 
} 
  
GUIEditor.window[1] = guiCreateWindow(273, 203, 232, 263, "", false) 
guiWindowSetSizable(GUIEditor.window[1], false) 
GUIEditor.gridlist[1] = guiCreateGridList(9, 26, 213, 199, false, GUIEditor.window[1]) 
GUIEditor.button[1] = guiCreateButton(75, 232, 74, 21, "أختيــار", false,GUIEditor.window[1]) 
local Column = guiGridListAddColumn(GUIEditor.gridlist[1], "الأسماء", 0.9) 
local Row = guiGridListAddRow ( GUIEditor.gridlist[1] ) 
guiGridListSetItemText ( GUIEditor.gridlist[1], Row, Column, 'عمر', false, false ) 
  
addEventHandler('onClientGUIClick',Button, 
function() 
    if guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 then 
        local Get = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) 
            if ( Get ) then 
                triggerServerEvent("ShowInScoreBoard",localPlayer,Get) 
            end 
        end 
    end,false 
) 

لبى قلبك ..

كل شي شغآل

بس السيرفر خربآن

مايجي في التاب عمر .. :)

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