Jump to content

مود التحقق من الادمن


MANAMAY

Recommended Posts

شباب بغيت كود اذا دخل الادمن صاحب السيرفر يطلع في الجات تم دخول الادمن الحقيقي حسن

واذا واحد مقلد اسمي

يقول تم تقليد نك نيم الادمن حسن

388347289327849032490413890780347784780347805478053477803278054870480758087054780547804780

مرة فية ناس طلبوة حاول تبحث ماراح يعطيك احد :lol::lol::lol:

Link to comment

server

function login() 
    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then 
    outputChatBox("#808080 بتسجيل دخوله .." .. getPlayerName(source) .. "#ff0000 لقد قام صاحب السيرفر : #ffffff", getRootElement(), 255,0,0, true) 
  end -- The End of " if " 
   
end -- The End of " function login " 
addEventHandler("onPlayerLogin", getRootElement(), login) 

meta

    

Link to comment
server
function login() 
    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then 
    outputChatBox("#808080 بتسجيل دخوله .." .. getPlayerName(source) .. "#ff0000 لقد قام صاحب السيرفر : #ffffff", getRootElement(), 255,0,0, true) 
  end -- The End of " if " 
   
end -- The End of " function login " 
addEventHandler("onPlayerLogin", getRootElement(), login) 

meta

    

هذا يتحقق اذا كان مقلد النك ؟

Link to comment
server
function login() 
    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then 
    outputChatBox("#808080 بتسجيل دخوله .." .. getPlayerName(source) .. "#ff0000 لقد قام صاحب السيرفر : #ffffff", getRootElement(), 255,0,0, true) 
  end -- The End of " if " 
   
end -- The End of " function login " 
addEventHandler("onPlayerLogin", getRootElement(), login) 

meta

    

هذا يتحقق اذا كان مقلد النك ؟

:lol:

هذا اذا الاعب قام بتسجيل الدخول بس مايتحقق بس الاخ ضارب شوي :lol::lol::lol:

Link to comment
MyName = "اسمك هنا" 
MySerial = "سيريالك هنا" 
  
addEventHandler("onPlayerJoin", root, 
function() 
     if getPlayerName(source) == MyName then 
          if getPlayerSerial(source) == MySerial then 
               outputChatBox("تم دخول الادمن الحقيقي حسن", root, 255, 0, 0) 
          else 
               outputChatBox("تم تقليد نك نيم الادمن حسن", root, 255, 0, 0) 
               banPlayer(source, false, false, true, root, "سبب الباند هنا") 
          end 
     end 
end) 

Link to comment
MyName = "اسمك هنا" 
MySerial = "سيريالك هنا" 
  
addEventHandler("onPlayerJoin", root, 
function() 
     if getPlayerName(source) == MyName then 
          if getPlayerSerial(source) == MySerial then 
               outputChatBox("تم دخول الادمن الحقيقي حسن", root, 255, 0, 0) 
          else 
               outputChatBox("تم تقليد نك نيم الادمن حسن", root, 255, 0, 0) 
               banPlayer(source, false, false, true, root, "سبب الباند هنا") 
          end 
     end 
end) 

الاسم الا مسجل في سيرفري

لو الا اقدر اغيرة من

settings

Link to comment
لان انا ابه اضيف اكثر من ادمن

:wink: ضيف أدمنية كثر الي تبي

check = { 
    {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, 
    {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, 
    {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, 
    {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, 
    {Name = "الأسم هنا", Serial = "السيريال هنا", rName = "أسم الأدمن الي يجي في الشات"}, 
} 
  
addEventHandler("onPlayerJoin", root, 
function() 
    for i, v in ipairs(check) do 
        if getPlayerName(source) == v["Name"] then 
            if getPlayerSerial(source) == v["Serial"] then 
                outputChatBox(v["rName"].." تم دخول الادمن الحقيقي", root, 255, 0, 0) 
            else 
                outputChatBox(v["rName"].." تم تقليد نك نيم الادمن", root, 255, 0, 0) 
                banPlayer(source, false, false, true, root, "سبب الباند هنا") 
            end 
        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...