Jw8. Posted May 15, 2019 Share Posted May 15, 2019 سلآم عليكم في عندي مشكلة في dgs < كل ما اضغط بوتن بيجيب لآق ويكتب لي exports failled انا مركب مود dgs اتمنى افادة Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 2 minutes ago, DmAr511 said: سلآم عليكم في عندي مشكلة في dgs < كل ما اضغط بوتن بيجيب لآق ويكتب لي exports failled انا مركب مود dgs اتمنى افادة اعرض اكوادك + تأكد من الايفنت صح او لا Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") طيب دلحين اقدر اعمل اسم فقط وعند اختيار الكومبو يضغط ؟ ويشتغل ؟ Just now, JustP said: اعرض اكوادك + تأكد من الايفنت صح او لا الايفينت صح !! Just now, DmAr511 said: Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") طيب دلحين اقدر اعمل اسم فقط وعند اختيار الكومبو يضغط ؟ ويشتغل ؟ الايفينت صح !! هو يشتغل بس عند كبس كمان بوتين مايروح ! exports.dgs:dgsSetVisible( but, false ) طبعا ذه الكود حق الاخفاء Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 3 minutes ago, DmAr511 said: Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") طيب دلحين اقدر اعمل اسم فقط وعند اختيار الكومبو يضغط ؟ ويشتغل ؟ الايفينت صح !! هو يشتغل بس عند كبس كمان بوتين مايروح ! exports.dgs:dgsSetVisible( but, false ) طبعا ذه الكود حق الاخفاء اها تأكد من انو اسم المود dgs لانو حسب ما اذكر اسمه dgsmaster Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 1 minute ago, DmAr511 said: منزله اسمو dgs من الموقع تقدر تستعمل هذا كذا loadstring(exports.dgs:dgsImportFunction())() بداية المود بعدين تكتب عادي مثلا لو سويت هذا بداية المود بتسوي كذا dgsCreateWindow بدون الحاجة الى الاستدعاء Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 Just now, JustP said: تقدر تستعمل هذا كذا loadstring(exports.dgs:dgsImportFunction())() بداية المود بعدين تكتب عادي مثلا لو سويت هذا بداية المود بتسوي كذا dgsCreateWindow بدون الحاجة الى الاستدعاء dgsCreateWindow ما ابغى استعمله لآني مسويه ع dx call : failled to call 'dgs:dgsSetVisible' Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 3 minutes ago, DmAr511 said: dgsCreateWindow ما ابغى استعمله لآني مسويه ع dx تقدر توضح على اجابتك هذي ؟ + تأكد من اسم المود احتمال يكون DGS Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 شكرا لكم تم حل المشكله :] وعرفت المشكله هي انا مسوي فاكشن function showWin() exports.dgs:dgsSetVisible( GridListFort, true ) end وضايفه في البوتين , وكمان حاط نفسه exports.dgs:dgsSetVisible( GridListFort, false ) خخخ منوبني 1 Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 15 minutes ago, DmAr511 said: Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") طيب دلحين اقدر اعمل اسم فقط وعند اختيار الكومبو يضغط ؟ ويشتغل ؟ الايفينت صح !! هو يشتغل بس عند كبس كمان بوتين مايروح ! exports.dgs:dgsSetVisible( but, false ) طبعا ذه الكود حق الاخفاء اعرض اكواد المود كلها لو تسوي جدول احسن لك بيكون اسرع Link to comment
#\_oskar_/# Posted May 15, 2019 Share Posted May 15, 2019 اعرض الاخطاء اللي تظهرلك بالدي بق Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 عيال دلحين اقدر اعمل function WeatherTime() Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") end كل مايضغط الكومبو يتغير.؟ بس ابيه يكون عربي Language ** Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 1 minute ago, DmAr511 said: عيال دلحين اقدر اعمل function WeatherTime() Spawner = exports.dgs:dgsCreateComboBox(0.64, 0.31, 0.18, 0.04,"Select Spawn",false) exports.dgs:dgsComboBoxAddItem(Spawner, "Los Santos","Spawn1") exports.dgs:dgsComboBoxAddItem(Spawner, "Las Vegas","Spawn2") exports.dgs:dgsComboBoxAddItem(Spawner, "San Fiero","Spawn3") Luaguge = exports.dgs:dgsCreateComboBox(0.64, 0.46, 0.18, 0.04, "Select Luaguge", true) exports.dgs:dgsComboBoxAddItem(Luaguge, "AR","LAR") exports.dgs:dgsComboBoxAddItem(Luaguge, "ENG","LEN") Time = exports.dgs:dgsCreateComboBox(0.64, 0.57, 0.18, 0.04, "Select Time", true) exports.dgs:dgsComboBoxAddItem(Time, "نهار","12") exports.dgs:dgsComboBoxAddItem(Time, "ليل","24") exports.dgs:dgsComboBoxAddItem(Time, "نص نهار","14") exports.dgs:dgsComboBoxAddItem(Time, "نص ليل","16") exports.dgs:dgsComboBoxAddItem(Time, "صباح","6") Weather = exports.dgs:dgsCreateComboBox(0.64, 0.69, 0.18, 0.04, "Select Weather", true) exports.dgs:dgsComboBoxAddItem(Weather, "ماطر","1") exports.dgs:dgsComboBoxAddItem(Weather, "رعود وماطر","2") exports.dgs:dgsComboBoxAddItem(Weather, "برق","3") exports.dgs:dgsComboBoxAddItem(Weather, "غبار","4") end كل مايضغط الكومبو يتغير.؟ بس ابيه يكون عربي Language ** وضح اكثر لما تحتاج شيء وضحه بالتفاصيل الدقيقة Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 أبي كل ما اضغط مثل "نهار" يتحول الطقس نهار فقط ع الكومبو بوكس dgs dgs تعلمتهأ من امس يعني ماكنت اعرف له كثير كنت بس dx Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 Just now, DmAr511 said: أبي كل ما اضغط مثل "نهار" يتحول الطقس نهار فقط ع الكومبو بوكس dgs انصحك تسويها قريد ليست احسن لكن الي تحتاجه انت تقدر تسويه بواسطة onDgsComboBoxAccepted Link to comment
Jw8. Posted May 15, 2019 Author Share Posted May 15, 2019 21 minutes ago, JustP said: انصحك تسويها قريد ليست احسن لكن الي تحتاجه انت تقدر تسويه بواسطة onDgsComboBoxAccepted ليش تنصحني بقريد ؟ Link to comment
JustP Posted May 15, 2019 Share Posted May 15, 2019 7 minutes ago, DmAr511 said: ليش تنصحني بقريد ؟ لان القريد ليست احسن وانظم من هذي الي مسويه كله انت + تقدر تسوي جدول وتحط فيه الاشياء عشان للاختصار فقط Link to comment
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