Mhmd.z Posted August 22, 2015 Posted August 22, 2015 السلام عليكم ورحمة الله وبركاته ابي شرح كيف اربط حدثين مع بعض ... onClientGUIClick onClientPlayerWasted ابي لو الاعب ضغط الزر ذا بس يموت ييجيه كلام بالشات , لو ما كان ضاغطه ما ييجيه الكلام ....
TAPL Posted August 22, 2015 Posted August 22, 2015 addEventHandler("onClientGUIClick", guiRoot, function() if source == theButton then clicked = true end end) addEventHandler("onClientPlayerWasted", localPlayer, function() if clicked then outputChatBox("You died!", 255, 0, 0) clicked = nil end end)
Simba Posted August 22, 2015 Posted August 22, 2015 addEventHandler("onClientGUIClick", guiRoot, هذي ايش يا تابل guiRoot ?
Mhmd.z Posted August 22, 2015 Author Posted August 22, 2015 شكرا ي تابل guiRoot = اي زر بالمود بعدها تحدد الزر الي تبيه عن طريق if source == button then
TAPL Posted August 22, 2015 Posted August 22, 2015 addEventHandler("onClientGUIClick", guiRoot, هذي ايش يا تابل guiRoot ? https://wiki.multitheftauto.com/wiki/Predefined_variables_list guiRoot -- returns the root element all GUI elements.
Professional Posted August 22, 2015 Posted August 22, 2015 addEventHandler("onClientGUIClick", guiRoot, هذي ايش يا تابل guiRoot ? https://wiki.multitheftauto.com/wiki/Predefined_variables_list guiRoot -- returns the root element all GUI elements. بس اشوف مرات يعمل 5 احداث مع بعض كيف زول ولا هم مبرمجين يعرفون كيف يعملوها قصدي ( مبرمجين محترفين ) ؟؟
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now