Jump to content

طلب كود بسرعه


Recommended Posts

مشكور اخ كور

انا حطيط بدل انشاله كلوم

guiGridListSetItemText

شكرا لك علي المساعده بس سوال تاني

انا عامل اذا ضعط علي button

يتحذف كل الاشيا البلاقريد

بس ما ظبت

ما صارت تفتح اللوحة لما حطيطه

addEventHandler("onClientGUIClick",root, 
    function () 
        if ( source == XE ) then 
        guiGridListClear(grid) 
end 
end) 

Link to comment

مثال ثاني عشان تفهم اكثر

addEventHandler ( "onClientGUIClick",root,function () 
if  source == button then  
local row = guiGridListAddRow (GRID) 
t1,t2,t3 = guiGetText(edit1),guiGetText(edit2),guiGetText(edit3) 
if t1 ~=  "" and t2 ~=  "" and t3 ~=  "" then 
guiGridListSetItemText (GRID,row,1,t1,false,false) 
guiGridListSetItemText (GRID,row,2,t2,false,false) 
guiGridListSetItemText (GRID,row,3,t3,false,false) 
outputChatBox ( "تم اضافة الكلام") 
return end 
outputChatBox ( "اكتب اي شئ بالايديت") 
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...