Jump to content

فنكشنات


Recommended Posts

  • Replies 97
  • Created
  • Last Reply

Top Posters In This Topic

انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا عملتها وكله تمام بس في مشكلة في التريقرات دي
  
        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
انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت

اها فهمت الحين

لازم تقفل الشرط الاول

كذا

  
        else 
    end 
else 
   --- 
end 
  

مينفعش اثنين تحت بعض

Link to comment
انا ضايف الهيلب دي عشان دي بتاعت انا مساعد لو مضفتهاش مش هتظهر فـ شات السبورت

اها فهمت الحين

لازم تقفل الشرط الاول

كذا

  
        else 
    end 
else 
   --- 
end 
  

مينفعش اثنين تحت بعض

Link to comment
        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
        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
        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
        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
-- الجزء الاول من السكربت 
  
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
-- الجزء الاول من السكربت 
  
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

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