Jump to content

#Doctor

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by #Doctor

  1. الصراحة ما فهمت ولا شيء وش ضوره هدا الكود ووين احطه
  2. شكرا أخي لاكن رح استنى كريم يخلص مود و ينشره مجانا و غير مشفر
  3. السلام عليكم و رحمة الله اليوم جبت لكم ماب بداية هجولة حصري 2018 صورة لي ماب : فيديو للماب : رابط تحميل Bidaya : اهداء لي @MR.Mosa @MrKAREEM @#!MnT7r,_.<3 @Abu-Solo @#Himoo @iMr.WiFi..! @Master_MTA
  4. السلام عليكم ابي مود المسابقات متل حق الوزارة الصراحة مود حلو و عجبني لي يعرف او معه المود يكتب تعليق
  5. السلام عليكم شباب انشاء الله طيبين اليوم جايب لككم مود العاجل مطور مع خاصية اغلاق العاجل موقتا يجب عليك وضع سرياللك وسريال خويك لتستطيع اغلاق العاجل صورة لي العاجل : رابط التحميل http://bit.ly/2EqwM9P : طريقة تعديل على المود : الشكر الخاص لي @MR.Mosa : الاهداء لي @MrKAREEM @MR.SAMSUNG وشكرا
  6. ابيك في مساعدة في مود العاجل ابي اضيفله خاصية (العاجل مغلق مئقتا )هذا هوا المود AdminMessage-Server.lua Groups = { -- القروبات المسموح لها بالكتابة "Console", "AM", } -------------------- لا داعي لتعديل الأكواد تحت هذا السطر ------------------- function check ( thePlayer, commandName, ... ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local veve = { ... } local message = table.concat ( veve, " " ) for i, v in ipairs ( Groups ) do if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then setElementData ( resourceRoot, "MessageAdmin", message); setElementData(resourceRoot,"PlrAdmin",getPlayerName(thePlayer)); SaveMessage ( ) triggerClientEvent ( "Bingo", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) end end end addCommandHandler( "AM", check ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) executeSQLQuery("CREATE TABLE IF NOT EXISTS SaveMessagee (Message, Server)") end ) addEvent ( "SetMessage", true ) addEventHandler ( "SetMessage", root, function ( ) getMessage ( ) end ) SaveMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee WHERE Server = '" .. getServerName ( ) .."'" ) if ( #msg ~= 0 ) then return executeSQLQuery("UPDATE SaveMessagee SET Message=? WHERE Server=? ", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) else return executeSQLQuery("INSERT INTO SaveMessagee (Message,Server) VALUES(?,?)", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) end end getMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee" ) if ( #msg ~= 0 ) then setElementData ( resourceRoot, "MessageAdmin", msg[1]["Message"] ) return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) else return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement( ), " " ) end end AdminMessage-Client.lua -- * Created By Bingo local x,y = guiGetScreenSize(); addEvent ( "Bingo", true ) addEventHandler ( "Bingo", getRootElement(),function(message) txt = message; end) addEventHandler("onClientRender", getRootElement( ),function( ) if ( txt ) then dxDrawText ( "#0044FFAdmin :", x*(13.0/800), y*(167.0/600), x*(55.0/800), y*(182.0/600), tocolor ( 255, 255, 0, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true) dxDrawText (txt, x*(60.0/800), y*(168.0/600), x*(799.0/800), y*(224.0/600), tocolor ( 255, 255, 255, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true) end if ( getElementData(resourceRoot,"PlrAdmin") ) then dxDrawText("#ffffff "..getElementData(resourceRoot,"PlrAdmin"),x*(13.0/800),y*(184.0/600),x*(799.0/800),y*(224.0/600),tocolor(255,255,255,255),0.85,"default-bold","left","top",false,false,false,true) end end) bindKey ( "i", "down", "chatbox", "AM" ) -- تغير الزر addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) triggerServerEvent ( "SetMessage", localPlayer ) end )
  7. هلا حبي ابي اعل خاصية قفل العاجل في العاجل لي معي 

    ابي لما احط الاعلان في العاجل و  اقفل العاجل يبقا الاعلان 

    AdminMessage-Server.lua 

    
    Groups = {  -- القروبات المسموح لها بالكتابة
    "Console",
    "AM",
    } 
    
    -------------------- لا داعي لتعديل الأكواد تحت هذا السطر -------------------
    
    function check ( thePlayer, commandName, ... )
            local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
    		local veve = { ... }
    		local message = table.concat ( veve, " " )
            for i, v in ipairs ( Groups ) do
              if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then		
    		setElementData ( resourceRoot, "MessageAdmin", message);
    		setElementData(resourceRoot,"PlrAdmin",getPlayerName(thePlayer));
            SaveMessage (  )
    		triggerClientEvent ( "Bingo", getRootElement(  ), getElementData ( resourceRoot, "MessageAdmin" ) )
    		end
    	end
    end
    addCommandHandler( "AM", check )
    
    addEventHandler ( "onResourceStart", resourceRoot, function (  )
            executeSQLQuery("CREATE TABLE IF NOT EXISTS SaveMessagee (Message, Server)")
    end
    )
    
    addEvent ( "SetMessage", true )
    addEventHandler ( "SetMessage", root, function (  )
       getMessage (  )
    end
    )
    
    SaveMessage = function (  )
    local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee WHERE Server = '" .. getServerName ( ) .."'" )
    if ( #msg ~= 0  )   then
       return executeSQLQuery("UPDATE SaveMessagee SET Message=? WHERE Server=? ", tostring ( getElementData ( resourceRoot, "MessageAdmin"  ) ), getServerName ( ) )
    else
       return executeSQLQuery("INSERT INTO SaveMessagee (Message,Server) VALUES(?,?)", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) )
       end
    end
    
    getMessage = function (  )
    local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee" )
    if ( #msg ~= 0  ) then
        setElementData ( resourceRoot, "MessageAdmin", msg[1]["Message"] )
        return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement(  ), getElementData ( resourceRoot, "MessageAdmin" ) )
    else
       return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement(  ), " " )
      end
    end 
    
    

    AdminMessage-Client.lua

     
    -- * Created By Bingo
    local x,y = guiGetScreenSize();
    
    addEvent ( "Bingo", true )
    addEventHandler ( "Bingo", getRootElement(),function(message)
    	txt = message;
    end)
    
    addEventHandler("onClientRender", getRootElement(  ),function(  )
    	if ( txt ) then
    		dxDrawText ( "#0044FFAdmin :", x*(13.0/800), y*(167.0/600), x*(55.0/800), y*(182.0/600), tocolor ( 255, 255, 0, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true)
    		dxDrawText (txt, x*(60.0/800), y*(168.0/600), x*(799.0/800), y*(224.0/600), tocolor ( 255, 255, 255, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true)
    	end
    	if ( getElementData(resourceRoot,"PlrAdmin") ) then
    		dxDrawText("#ffffff "..getElementData(resourceRoot,"PlrAdmin"),x*(13.0/800),y*(184.0/600),x*(799.0/800),y*(224.0/600),tocolor(255,255,255,255),0.85,"default-bold","left","top",false,false,false,true)
    	end
    end)
    	
    bindKey ( "i", "down", "chatbox", "AM" ) -- تغير الزر
    
    
    addEventHandler ( "onClientResourceStart", resourceRoot, function (  )
    triggerServerEvent ( "SetMessage", localPlayer )
    end
    )

     

  8. وانا ابيك تعدلي قفل حبي AdminMessage-Server.lua Groups = { -- القروبات المسموح لها بالكتابة "Console", "AM", } -------------------- لا داعي لتعديل الأكواد تحت هذا السطر ------------------- function check ( thePlayer, commandName, ... ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local veve = { ... } local message = table.concat ( veve, " " ) for i, v in ipairs ( Groups ) do if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then setElementData ( resourceRoot, "MessageAdmin", message); setElementData(resourceRoot,"PlrAdmin",getPlayerName(thePlayer)); SaveMessage ( ) triggerClientEvent ( "Bingo", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) end end end addCommandHandler( "AM", check ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) executeSQLQuery("CREATE TABLE IF NOT EXISTS SaveMessagee (Message, Server)") end ) addEvent ( "SetMessage", true ) addEventHandler ( "SetMessage", root, function ( ) getMessage ( ) end ) SaveMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee WHERE Server = '" .. getServerName ( ) .."'" ) if ( #msg ~= 0 ) then return executeSQLQuery("UPDATE SaveMessagee SET Message=? WHERE Server=? ", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) else return executeSQLQuery("INSERT INTO SaveMessagee (Message,Server) VALUES(?,?)", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) end end getMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessagee" ) if ( #msg ~= 0 ) then setElementData ( resourceRoot, "MessageAdmin", msg[1]["Message"] ) return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) else return setTimer ( triggerClientEvent, 1000, 1, "Bingo", getRootElement( ), " " ) end end AdminMessage-Client.lua -- * Created By Bingo local x,y = guiGetScreenSize(); addEvent ( "Bingo", true ) addEventHandler ( "Bingo", getRootElement(),function(message) txt = message; end) addEventHandler("onClientRender", getRootElement( ),function( ) if ( txt ) then dxDrawText ( "#0044FFAdmin :", x*(13.0/800), y*(167.0/600), x*(55.0/800), y*(182.0/600), tocolor ( 255, 255, 0, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true) dxDrawText (txt, x*(60.0/800), y*(168.0/600), x*(799.0/800), y*(224.0/600), tocolor ( 255, 255, 255, 255 ), 1.0, "default-bold", "left", "top", false, false, false ,true) end if ( getElementData(resourceRoot,"PlrAdmin") ) then dxDrawText("#ffffff "..getElementData(resourceRoot,"PlrAdmin"),x*(13.0/800),y*(184.0/600),x*(799.0/800),y*(224.0/600),tocolor(255,255,255,255),0.85,"default-bold","left","top",false,false,false,true) end end) bindKey ( "i", "down", "chatbox", "AM" ) -- تغير الزر addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) triggerServerEvent ( "SetMessage", localPlayer ) end )
  9. طيب ممكن مود ساعات لي مستعمله انت
  10. انا ساعاتي 10000 ألاف و يقلي you don't have enough hours
  11. السلام عليكم ورحمة الله معنا اليوم مود اذارة حسابات من صنع ThePrInCe وكان فيه بعض الأخطاء كان لما تفتح اللوحة تفتح للجميع الموجودين بي السيرفر فقام خوي MrKAREEM بتعديل على المود و صار يشتغل عادي و بدون مشاكل قم بتعديل على المود عبر وضع السريال لتفتح لك اللوحة صورة للمود رابط تحميل المود https://up.top4top.net/downloadf-7553snmo1-zip.html او http://www.mediafire.com/file/ycc5q3rm5gxh32i/Xaccount.zip
×
×
  • Create New...