Jump to content

طلب قود


Adham

Recommended Posts

طيب

لو انا عامل اللوحة الاوله فيها القريد لست

والوحة التانيه

فيها الايديت و الbutton

ممكن تعطيني الكود كلو

عادي نفس الشئ

كل اللى عليك انك تحط اسم الزر + الايديت باللوحه الثانيه

Link to comment

فيه خطا؟

addEventHandler ( "onClientGUIClick", resourceRoot, 
function ( ) 
if ( source == GUIEditor.button[2] ) then 
local select = guiGridListGetSelectedItem ( grid ) 
guiSetVisible(wnd,false) 
guiSetVisible(wnd2,true) 
end 
end) 
Link to comment
فيه خطا؟

addEventHandler ( "onClientGUIClick", resourceRoot, 
function ( ) 
if ( source == GUIEditor.button[2] ) then 
local select = guiGridListGetSelectedItem ( grid ) 
guiSetVisible(wnd,false) 
guiSetVisible(wnd2,true) 
end 
end) 
addEventHandler ( "onClientGUIClick", root, 
function ( ) 
if ( source == GUIEditor.button[2] ) then 
if guiGridListGetSelectedItem ( grid ) ~= -1 then 
guiSetVisible(wnd,false) 
guiSetVisible(wnd2,true) 
end 
end 
end 
) 

جرب =)

Link to comment

عندي طريقه اسهل لك

سوي ايدت بوكس في الوحه و سوي لو ضغط على الجريد ليست يجيب المحدد بالقريد ويسوي

guiSetText

و يوم تضغط

Button

حقكك , سوي

function () 
  
if ( guiGetText(yourText) == ' ' ) then 
  
-- your functions  
  
elseif ( guiGetText(yourText) == ' ' ) then 
  
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...