#Soking Posted April 7, 2016 Share Posted April 7, 2016 اطرح كل اكوادك وقولي لي كل المشاكل وانا بسويه لك جاهز Link to comment
#Soking Posted April 7, 2016 Share Posted April 7, 2016 اطرح كل اكوادك وقولي لي كل المشاكل وانا بسويه لك جاهز Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? لا والله ؟؟ اظن ان البلاير اساسآ كان تريقر مع السبورت تمام ؟ انا عاوز اشغل ال3 ترايقر عشان ميعملش مشاكل عشان يكون الفنكشن والطلب ده خلص Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? لا والله ؟؟ اظن ان البلاير اساسآ كان تريقر مع السبورت تمام ؟ انا عاوز اشغل ال3 ترايقر عشان ميعملش مشاكل عشان يكون الفنكشن والطلب ده خلص Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 وغير كده عاوز فنكشن يعمل مدة للميوت فاللوحة السبورت Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 وغير كده عاوز فنكشن يعمل مدة للميوت فاللوحة السبورت Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? لا والله ؟؟ اظن ان البلاير اساسآ كان تريقر مع السبورت تمام ؟ انا عاوز اشغل ال3 ترايقر عشان ميعملش مشاكل عشان يكون الفنكشن والطلب ده خلص تشغل 3 ؟ هنا 2 وواحد انت مكرره ملهوش لازمة =.= بلنسبة للميوت setTimer setElementData Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا عملتها وكله تمام بس في مشكلة في التريقرات دي triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end ) ان الكود مبيقبلش 2 else بالله انت تفكر؟ التريقر نفس الارقمنتات و نفس كل شيء ليه حاطت 2 else? لا والله ؟؟ اظن ان البلاير اساسآ كان تريقر مع السبورت تمام ؟ انا عاوز اشغل ال3 ترايقر عشان ميعملش مشاكل عشان يكون الفنكشن والطلب ده خلص تشغل 3 ؟ هنا 2 وواحد انت مكرره ملهوش لازمة =.= بلنسبة للميوت setTimer setElementData Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت اها فهمت الحين لازم تقفل الشرط الاول كذا else end else --- end مينفعش اثنين تحت بعض Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت اها فهمت الحين لازم تقفل الشرط الاول كذا else end else --- end مينفعش اثنين تحت بعض Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) كذا ؟ Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) كذا ؟ Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) كذا ؟ المفروض كدة بس انا مش شايف الكود من فوق فمعرفش لو فيه اندات زيادة او لا Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) كذا ؟ المفروض كدة بس انا مش شايف الكود من فوق فمعرفش لو فيه اندات زيادة او لا Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 الدي بق Loading Script Failed: AW-Support\Server.lua:20: 'end' expected (to close 'function' at line 3) near 'else' Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 الدي بق Loading Script Failed: AW-Support\Server.lua:20: 'end' expected (to close 'function' at line 3) near 'else' Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 الدي بقLoading Script Failed: AW-Support\Server.lua:20: 'end' expected (to close 'function' at line 3) near 'else' وانا احلها ازاي و انا مش شايف السطر؟ والكود كامل؟ Link to comment
Jupi Posted April 7, 2016 Share Posted April 7, 2016 الدي بقLoading Script Failed: AW-Support\Server.lua:20: 'end' expected (to close 'function' at line 3) near 'else' وانا احلها ازاي و انا مش شايف السطر؟ والكود كامل؟ Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 -- الجزء الاول من السكربت addEvent("Request_Message", true) addEventHandler("Request_Message", root, function (Msg) acc = getAccountName(getPlayerAccount(source)) local time = getRealTime () local hour = time.hour local minute = time.minute local second = time.second if isObjectInACLGroup ( "user."..acc, aclGetGroup("Console")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Admin")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Support")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL1")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL2")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL3")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL4")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL5")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Leader")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Hoster")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL1")) then triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) و مش تستعجل او تتعصب عشان النت عندي زفت Link to comment
ivor Posted April 7, 2016 Author Share Posted April 7, 2016 -- الجزء الاول من السكربت addEvent("Request_Message", true) addEventHandler("Request_Message", root, function (Msg) acc = getAccountName(getPlayerAccount(source)) local time = getRealTime () local hour = time.hour local minute = time.minute local second = time.second if isObjectInACLGroup ( "user."..acc, aclGetGroup("Console")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Admin")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Support")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL1")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL2")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL3")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL4")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL5")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Leader")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Hoster")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL1")) then triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else end triggerClientEvent(root, "Send_Help_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end end ) و مش تستعجل او تتعصب عشان النت عندي زفت 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