taha201100 Posted April 4, 2016 Posted April 4, 2016 السلام عليكم يا مزز عساكم بخير هلا والله بغيت اسئل اذا ما في مانع guiCreateComboBox guiComboBoxAddItem guiComboBoxClear guiComboBoxGetItemText guiComboBoxSetItemText guiComboBoxRemoveItem guiComboBoxGetSelected guiComboBoxSetSelected ممكن افهم وش ذول كلهم؟؟ يعني وش وظيفة كل واحد منهم مشان الكومو بوكس +سؤالي الثاني اقدر اسوي مثلن لما يدخل سياره اي دي معين يتنفذ امر يعني سياره معينة فقط وش الي احتاجه +كيف يمديني اسوي للأزرار ارقام مثلن لما تفتح اللوحة ما في داعي تتطلع الماوس مشان يضغط الزر لو ضغط رقم 1 مثلن يضغط زر بوتون 1 اتمنى وصلت ارد عليكم بكرة تصبحون على خير
#|_oskar_|# Posted April 5, 2016 Posted April 5, 2016 كلهم متشابهين بالقريد ليست مايفرق غير شكله بس لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 شايفني اعرف للجريد ليست؟؟ ممكن احد يشرح كل سطر وش وظيفتة +تجابون على اسئلتي يلي تحت لاهنتم
N3xT Posted April 5, 2016 Posted April 5, 2016 guiCreateComboBox -- إنشاء الكومبو بوكس guiComboBoxAddItem -- لإضافة شيء بالكومبو بوكس guiComboBoxClear -- حذف كل شيء موجود بالكومبو بوكس guiComboBoxGetItemText -- أخذ أسم الأختيار guiComboBoxSetItemText -- وضع أسم للإختيار guiComboBoxRemoveItem -- حذف الإختيار guiComboBoxGetSelected -- أخذ الإختيار guiComboBoxSetSelected -- وضع الإختيار وطلبك الثاني ، اذا ركب أحد سيارة معينة أستخدم التالي getElementModel أما بالنسبة للأزرار 1 يظغط زر أتوقع م تقدر
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 مشكور لكن مره شفته اتوقع ينفع ننتظر الباقي بجوز يحصلوه
#|_oskar_|# Posted April 5, 2016 Posted April 5, 2016 ممكن توضح طلبك الثالث لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Simple. Posted April 5, 2016 Posted April 5, 2016 طلبك الثالث سو لما يفتح اللوحه يسوي bindKey ولما تقفلها يسوي unBindKey h3x#2020
Me[Z]oO Posted April 5, 2016 Posted April 5, 2016 يا ريت لو في مثال بسيط bindKey("F1","down", function ( ) guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
Simple. Posted April 5, 2016 Posted April 5, 2016 bindKey('F1','down', function ( ) if not guiGetVisible ( wnd ) then bindKey ( 'num_1', 'down', Health ) bindKey ( 'num_2', 'down', kill ) guiSetVisible ( wnd, true ) showCursor ( true ) else guiSetVisible ( wnd, false ) showCursor ( false ) unbindKey ( 'num_1', 'down', Health ) unbindKey ( 'num_2', 'down', kill ) end end ) function Health ( ) setElementHealth ( localPlayer, 100 ) end function kill ( ) setElementHealth ( localPlayer, 0 ) end h3x#2020
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 ممكن اعرف الخطأ وين كلنت addEventHandler ("onClientResourceStart",root, function () triggerServerEvent("22",localPlayer) end ) addEventHandler ("onPlayerLogin",root, function () triggerServerEvent("33",localPlayer) end ) سيرفر addEvent ("22",true) addEventHandler ("22",root, function () createTeam ("DOV",159,112,12) end ) addEvent ("33",true) addEventHandler ("33",root, function (source) outputChatBox(getPlayerName(source)" has logged in!", root) setPlayerTeam ( source, DOV ) giveWeapon (source,38,4) end )
N3xT Posted April 5, 2016 Posted April 5, 2016 # Server : local team = createTeam ("DOV",159,112,12) addEventHandler ("onPlayerLogin",root, function () setPlayerTeam ( source, team ) giveWeapon ( source, 38, 4) outputChatBox(getPlayerName(source)" has logged in!", source, 255, 0, 0, true) end ) ' onPlayerLogin ' ^ حدث سيرفر ، كيف حاطه بكلنت ؟
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 بس في غلط هنا ممكن اعرف وين؟؟ outputChatBox(getPlayerName(source)" has logged in!", source, 255, 0, 0, true)
Abdul KariM Posted April 5, 2016 Posted April 5, 2016 outputChatBox(getPlayerName(source).." has logged in!", source, 255, 0, 0, true) [ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة ] https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 +مو راضي يكتمل التحقق مدري ليه addEventHandler ("onPlayerWasted",root, function () if getPlayerTeam(source) and getTeamFromName("Dov") then giveWeapon ( source, 9, 1) end end )
#|_oskar_|# Posted April 5, 2016 Posted April 5, 2016 if getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) == "Dov" then لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Jupi Posted April 5, 2016 Posted April 5, 2016 ما ضبط اوسكار يضبط بس انت تعطيه السلاح لما يموت ولما يرسبن يروح السلاح خلي الحدث onPlayerSpawn
Jupi Posted April 5, 2016 Posted April 5, 2016 ما ضبط اوسكار يضبط بس انت تعطيه السلاح لما يموت ولما يرسبن يروح السلاح خلي الحدث onPlayerSpawn
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 ههههههههه ما فكرت فيها على العموم اشتغل كودي القديم +مشكورين :]
taha201100 Posted April 5, 2016 Author Posted April 5, 2016 ههههههههه ما فكرت فيها على العموم اشتغل كودي القديم +مشكورين :]
Jupi Posted April 5, 2016 Posted April 5, 2016 ههههههههه ما فكرت فيها على العموم اشتغل كودي القديم +مشكورين :] العفو
Jupi Posted April 5, 2016 Posted April 5, 2016 ههههههههه ما فكرت فيها على العموم اشتغل كودي القديم +مشكورين :] العفو
taha201100 Posted April 6, 2016 Author Posted April 6, 2016 addEventHandler ("onPlayerSpawn",root, function () if getPlayerTeam(source) and getTeamFromName("Dov") then giveWeapon ( source, 9, 1) setPlayerSkin ( source, 181 ) end end ) يعطيه سلاح لكن ما يعطيه شخصيه ليه؟؟ +وش يختلف fadeCamera عن setCameraInterior +setCameraMatrix+setCameraTarget وش الفرق بين الاربعه؟
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