Jump to content

Error < خطا


Recommended Posts

2 minutes ago, DmAr511 said:

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

اتمنى افادة

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

Link to comment
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
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
1 minute ago, DmAr511 said:

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

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

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

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

dgsCreateWindow

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

Link to comment
Just now, JustP said:

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



 

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

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


dgsCreateWindow

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

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

call : failled to call 'dgs:dgsSetVisible'

 

Link to comment

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

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

function showWin()

exports.dgs:dgsSetVisible( GridListFort, true )

end

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

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

exports.dgs:dgsSetVisible( GridListFort, false )

خخخ منوبني 

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

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

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

Link to comment
Just now, DmAr511 said:

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

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

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

onDgsComboBoxAccepted

 

Link to comment
21 minutes ago, JustP said:

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

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


onDgsComboBoxAccepted

 

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

Link to comment
7 minutes ago, DmAr511 said:

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

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

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...