Jump to content

guiCreateCheckBox شيك بوكس


Recommended Posts

علشان لو ضغط في اي مكان في الوحه مايتفعل الفنكشن

:D

لا تقدر تشيلها

م لها لزمة

:D

لانك معرف الزر وهو Soking

جمب الايفنت

ماله شغل

GUI حدث راح يشتغل على اي شي يضغطه من

عشان كذا الفولس تخليه للزر فقط

Link to comment

جرب

CheckBox = guiCreateCheckBox ( ... ) 
  
addEventHandler ( "onClientGUIClick", Soking, 
function (    ) 
    if ( guiCheckBoxGetSelected ( CheckBox )  == true ) then 
            executeCommandHandler ( "Soking" ) 
        end 
    end,false 
) 
Edited by Guest
Link to comment
جرب

CheckBox = guiCreateCheckBox ( ... ) 
  
addEventHandler ( "onClientGUIClick", Soking, 
function (    ) 
    if ( guiCheckBoxGetSelected ( CheckBox )  == true ) then 
        executeCommandHandler ( "Soking" ) 
    end,false 
) 

CheckBox = guiCreateCheckBox ( ... ) 
  
addEventHandler ( "onClientGUIClick", Soking, 
function (    ) 
    if ( guiCheckBoxGetSelected ( CheckBox )  == true ) then 
        executeCommandHandler ( "Soking" ) 
         end 
    end,false 
) 

إغلاق التحقق

Edited by Guest
Link to comment
addEventHandler ( "onClientGUIClick", Soking, 
function (    ) 
    if ( guiCheckBoxGetSelected ( CheckBox )  == true ) then 
        executeCommandHandler ( "Soking" ) 
                end 
    end,false 
) 

Edited by Guest
Link to comment
علشان لو ضغط في اي مكان في الوحه مايتفعل الفنكشن

:D

لا تقدر تشيلها

م لها لزمة

:D

لانك معرف الزر وهو Soking

جمب الايفنت

ماله شغل

GUI حدث راح يشتغل على اي شي يضغطه من

عشان كذا الفولس تخليه للزر فقط

كيف؟

انا كل موداتي.بدون الفولس وشغاله تمام !_!

كنت ناشر سكربت بقسم المساهمات

ويشتغل للزر المعين فقط

طالمها مسوي

if source == ButtonName then

:shock:

Link to comment

انت محدد عنصر الروت مسوي تحقق اذا الزر المضغوط هو المطلوب

بل نسبة لسوكينج

هو محدد الزر فوري

لو محطة false

لو ضغطت علي الاب بتاع الزر

اللي هو عادة لوحة

هتحصل الوظيفة

false

بتعطل الموضوع ده

يعني سوكينج الصح ض1

Link to comment
cheak = guiCreateCheckBox(rx*45, ry*200, rx*290, ry*395, "Fuel", false, wndLayer.Settings)   
  
lua]addEventHandler ( "onClientGUIClick", check,  
function (    ) 
    if ( guiCheckBoxGetSelected ( check )  == true ) then 
        executeCommandHandler ( "الامر" ) 
                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...