Jump to content

SaedAmer

Members
  • Posts

    906
  • Joined

  • Last visited

Everything posted by SaedAmer

  1. function chatbox( text, type) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) function createTeamsOnStart () outputChatBox ( "* * * ?? ??? ????? ?????? ???????? * * * ", hitter, 241, 227, 13, true ) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) for i,player in ipairs(getElementsByType("player")) do setElementData(player, "Marker_destoy", 0) setElementData(player, "MiissoinStart", false) end end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart)
  2. function chatbox( text, type) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) function createTeamsOnStart () outputChatBox ( "* * * ?? ??? ????? ?????? ???????? * * * ", hitter, 241, 227, 13, true ) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) for i,player in ipairs(getElementsByType("player")) do setElementData(player, "Marker_destoy", 0) setElementData(player, "MiissoinStart", false) end end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart)
  3. ظبط طب و ده if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true)
  4. ظبط طب و ده if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true)
  5. السلام عليكم و رحمة الله و بركاته اما بعد ايه الغلط في الكود ده؟؟ elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] " sαєɒαмєя ":#ff0055 " .. text, root, 255, 255, 255, true)
  6. السلام عليكم و رحمة الله و بركاته اما بعد ايه الغلط في الكود ده؟؟ elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] " sαєɒαмєя ":#ff0055 " .. text, root, 255, 255, 255, true)
  7. تم ظبط شكرا لمجهدكو
  8. تم ظبط شكرا لمجهدكو
  9. + انا عاوز اكتب مثلا clr في ف8 يمسح الكلام و يكتب اسم الي مسح في الجريد ليست
  10. + انا عاوز اكتب مثلا clr في ف8 يمسح الكلام و يكتب اسم الي مسح في الجريد ليست
  11. هو الي مدهولي [L]e3bA
  12. هو الي مدهولي [L]e3bA
  13. الكلنت ------------- سيرفر -----------
  14. الكلنت ------------- سيرفر -----------
  15. لو كنت اعرف اسويه ما كنت جيت طلبت
  16. لو كنت اعرف اسويه ما كنت جيت طلبت
  17. ممكن الكود جاهز؟
  18. ممكن الكود جاهز؟
×
×
  • Create New...