DmAr511

Error < خطا

Recommended Posts

سلآم عليكم في عندي مشكلة في dgs < كل ما اضغط بوتن بيجيب لآق ويكتب لي exports failled انا مركب مود dgs

اتمنى افادة

Share this post


Link to post
2 minutes ago, DmAr511 said:

سلآم عليكم في عندي مشكلة في dgs < كل ما اضغط بوتن بيجيب لآق ويكتب لي exports failled انا مركب مود dgs

اتمنى افادة

اعرض اكوادك + تأكد من الايفنت صح او لا

Share this post


Link to post
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 )

طبعا ذه الكود حق الاخفاء

Share this post


Link to post
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

Share this post


Link to post

منزله اسمو dgs من الموقع 

Share this post


Link to post
1 minute ago, DmAr511 said:

منزله اسمو dgs من الموقع 

تقدر تستعمل هذا كذا
 

 
loadstring(exports.dgs:dgsImportFunction())()

بداية المود بعدين تكتب عادي مثلا
لو سويت هذا بداية المود بتسوي كذا

dgsCreateWindow

بدون الحاجة الى الاستدعاء

Share this post


Link to post
Just now, JustP said:

تقدر تستعمل هذا كذا
 



 

loadstring(exports.dgs:dgsImportFunction())()

بداية المود بعدين تكتب عادي مثلا
لو سويت هذا بداية المود بتسوي كذا


dgsCreateWindow

بدون الحاجة الى الاستدعاء

dgsCreateWindow ما ابغى استعمله لآني مسويه ع dx 

call : failled to call 'dgs:dgsSetVisible'

 

Share this post


Link to post

شغل ال dgs
قبل المود حقك

Share this post


Link to post
3 minutes ago, DmAr511 said:

dgsCreateWindow ما ابغى استعمله لآني مسويه ع dx 

تقدر توضح على اجابتك هذي ؟ + تأكد من اسم المود احتمال يكون DGS

Share this post


Link to post

شكرا لكم تم حل المشكله :] وعرفت المشكله هي

انا مسوي فاكشن 

function showWin()

exports.dgs:dgsSetVisible( GridListFort, true )

end

وضايفه في البوتين , 

وكمان حاط نفسه 

exports.dgs:dgsSetVisible( GridListFort, false )

خخخ منوبني 

  • Like 1

Share this post


Link to post
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 )

طبعا ذه الكود حق الاخفاء

اعرض اكواد المود كلها
لو تسوي جدول احسن لك بيكون اسرع

Share this post


Link to post
  • عيال دلحين اقدر اعمل 
  • 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 **

Share this post


Link to post
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 **

وضح اكثر لما تحتاج شيء وضحه بالتفاصيل الدقيقة

Share this post


Link to post

أبي كل ما اضغط مثل "نهار" يتحول الطقس نهار فقط ع الكومبو بوكس dgs

dgs تعلمتهأ من امس يعني ماكنت اعرف له كثير كنت بس dx 

Share this post


Link to post
Just now, DmAr511 said:

أبي كل ما اضغط مثل "نهار" يتحول الطقس نهار فقط ع الكومبو بوكس dgs

 انصحك تسويها قريد ليست احسن

لكن الي تحتاجه انت تقدر تسويه بواسطة
 

onDgsComboBoxAccepted

 

Share this post


Link to post
21 minutes ago, JustP said:

 انصحك تسويها قريد ليست احسن

لكن الي تحتاجه انت تقدر تسويه بواسطة
 


onDgsComboBoxAccepted

 

ليش تنصحني بقريد ؟

Share this post


Link to post
7 minutes ago, DmAr511 said:

ليش تنصحني بقريد ؟

لان القريد ليست احسن وانظم من هذي الي مسويه كله انت  + تقدر تسوي جدول وتحط فيه الاشياء عشان للاختصار فقط

Share this post


Link to post

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.