Jump to content

طلب فنكشن


Recommended Posts

addEventHandler("onClientGUIDoubleClick",root,
    function ()
        guiCreateGridList (grid1)
        guiGridListAddRow (grid2)
        local sel = guiGridListGetSelectedItem(grid2)
        if source == move then
            if sel ~= -1 then
                local x,y,z = unpack(guiGridListGetItemData(grid,sel,1))
                setElementPosition(localPlayer,x,y,z)
        end
    end
)

 

Edited by SaedAmer
Link to comment
addEventHandler ( 'onClientGUIDoubleClick' , root ,
  function ( ) 
    if ( source == yourgrid ) then 
      local aSelect = guiGridListGetItemText ( yourgrid , guiGridListGetSelectedItem ( yourgrid ), 1 )
      if ( aSelect == 'المهمات') then
        guiGridListClear ( yourgrid )
        guiGridListSetItemText ( yourgrid , gridListAddRow ( yourgrid ) , 1 , 'مهمة الديربي' , false , false )
      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...