medo7

Members
  • Content count

    183
  • Joined

  • Last visited

Community Reputation

18 Decent

About medo7

  • Rank
    Mark
  • Birthday 11/07/1991

Recent Profile Visitors

1,760 profile views
  1. x[ طلب كود ]x : png

    try function updateList(newEntry, newStatus) chattingPlayers[newEntry] = newStatus if(not chatIconFor[newEntry]) then chatIconFor[newEntry] = guiCreateStaticImage(0, 0, guix, guiy, "chat.png", false ) end guiSetVisible(chatIconFor[newEntry], false) end bindKey ( "t", "down", function() updateList("", true) end )
  2. طلب كودين

    setElementData getElementData
  3. x[ طلب آستفسآر ]x : DX

    GUIEditor = { label = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(336, 108, 599, 125, "", false) GUIEditor.label[1] = guiCreateLabel(19, 50, 164, 48, "nick", false, GUIEditor.window[1]) end ) addEventHandler("onClientRender", root, function() local x,y = guiGetPosition ( GUIEditor.label[1], true ) if guiGetVisible( GUIEditor.window[1] ) ~= false then dxDrawText(guiGetText(GUIEditor.label[1]), x- 1, y - 1, 723 - 1, 470 - 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false) dxDrawText(guiGetText(GUIEditor.label[1]), x + 1, y - 1, 723 + 1, 470 - 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false) dxDrawText(guiGetText(GUIEditor.label[1]), x - 1, y + 1, 723 - 1, 470 + 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false) dxDrawText(guiGetText(GUIEditor.label[1]), x + 1, y + 1, 723 + 1, 470 + 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false) dxDrawText(guiGetText(GUIEditor.label[1]), x, y, 723, 470, tocolor(255, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false) end end )
  4. binds = { ["brb"] = "عن آذنكم", ["س1"] = "آلسلآم عليكم ورحمة آلله وبركآته ", ["س2"] = "وعليكم السلآم ورحمة آلله وبركآته", ["س3"] = "سبحآن الله العظيم", ["س4"] = "سبحآن الله وبحمده ", } addEventHandler("onPlayerChat", getRootElement(), function(message, msgtype) cancelEvent() local text = message:gsub("", string.upper, 1) for i, v in pairs(binds) do while text:lower():find(i:lower(),1,true) do local chatbind, chatend = text:lower():find(i:lower(),1,true) local chatme = text:sub(chatbind, chatend) text = text:gsub(chatme,v) outputChatBox(text,source,255,0,0,true) end end end )
  5. addEventHandler ( "onPlayerChat" , root , -- حدث عندما يتكلم بالشات function ( msg , msgType ) -- وظيفة وتحتوي على البارمتر لل الحدث if string.find(msg,'تست') then -- التحقق من الرسالة المكتوبة cancelEvent ( ) return outputChatBox('#D90B7C♦[ « #27F2F2Chat System #D90B7C» ]♦ #27F2F2: هذة الكلمات ممنوعه بالسيرفر',source,255,0,0,true) end -- انهاء التحقق من الرسالة end -- انهاء الوظيفة ) -- اغلاق الحدث
  6. >>>>> الموضوع العام <<<<<

    https://hyyathost.com/image/0BOrI
  7. # ان شاء الله البرنامج # اشغله # بس انا كيف برنامج الشغل ارسلة #
  8. السلام عليكم ورحمة الله وبركانخ كيف الحالكم؟ انا عايز مصمم برامج يساعدني الصورة (1) الادمن يقدر يضيف او يحذف الصورة (2) بتطلع معاينة بحيث يظهرلك كود بيرسل لبرنامج المحاسب5.exe ===== ويكون ينفع لــ XP و window 7 اللي يعرف ياريت يقولي (مشارك) حتى لو تشوف اسبوع مثلا واي صعوبات تواجهك قولي .... وشكرا
  9. السلام عليكم ورحمة الله وبركاته كيف حالكم جميعا سويت لكم انه تقدروا تقرأوا صفحة (وجه واحد) من القرآن مع تسجيل صوتي الكي تستطيعوا القراءة بطريقة صحيحة مع القارئ واللي يخلص قراءة ويتابع معي يكتب "تم"... انتمتي ان تنال اعجابكم *** رابط الصوت هنا ويمكنكم بعد الاستماع تحميله عن طريق الرابط التالي في الاسفل يوجد كلمة Happy with this recording? Click here to save>> قم بنسخ القارئ الذي تود سماعه وضعه هنا سورة طه ايه : 1 - 12 استمع : 312.mp3
  10. [مساعدة]: chat admin

    @</Mr.Tn6eL> ممكن مساعدة؟ ؟ليه لما اكتب شئ بيتكرر كتير ويملأ الشات
  11. [HELP DGS]GUI showing all.

    @thisdp @Ahmed Ly up!
  12. SEARCH FOR ITEMS FROM GRID LIST

    try: vehicles = {{411},{451},{506}} v_editbox = guiCreateEdit(10,10,150,30,"Search",false,v_tab) for _,vehicle in ipairs(vehicles) do local id = getElementModel ( vehicle[1] ) local vehicleName = string.find ( string.upper (getVehicleName(id) ), string.upper ( guiGetText ( v_editbox ) ), 1, true ) local w_row = guiGridListAddRow(w_gridlist) guiGridListSetItemText(w_gridlist,w_row,1,tostring(vehicleName),false,false) end
  13. help Texture

    https://community.multitheftauto.com/index.php?p=resources&s=details&id=14707
  14. [مساعدة]: chat admin

    1. tPlayer = {} tPlayer[ source ] + tPlayer[root] + tPlayer[Player] = مازبط outputChatBox("* " ..mtag.."" ..getPlayerName ( tPlayer[ source ] ).. " : #FFFFFF"..message,tPlayer[ source ],255,0,0,true) نفس المشكلة :0 ===== طب ايش المقصود بالكلنت (خاص) ولا ايش؟ ===== --c.lua function aTagChat (...) message = table.concat({...}, " ") triggerServerEvent ( "SAdminChat", localPlayer, message ) outputChatBox ( getElementData(source,"aGroupAdmin")..""..getPlayerName ( source )..": "..message, 255, 0, 0,true ) cancelEvent() end addEvent ( "CAdminChat", true ); addEventHandler ( "CAdminChat", root, aTagChat ); addCommandHandler("Chat",aTagChat); addEventHandler("onClientResourceStart",resourceRoot, function() bindKey("n","down","chatbox","Chat") end ); addEventHandler ( "onClientPlayerJoin",resourceRoot, function ( ) bindKey("n","down","chatbox","Chat") end ); ---====--- --s.lua aGroup = { {"Console","(الادارة) "}, {"Admin","( مدير ) "}, {"Level 1","( مشرف ) "}, {"Level 2","( مشرف2 ) "} }; function isPlayerInGroup(message) if not isGuestAccount(getPlayerAccount(source)) then for k,v in ipairs ( aGroup ) do if ( isObjectInACLGroup("user." .. getAccountName ( getPlayerAccount (source ) ), aclGetGroup ( v[1] )) ) then setElementData(source,"aGroupAdmin",v[2]) triggerClientEvent ( source, "CAdminChat", source,message) cancelEvent() return true end end end end addEvent ( "SAdminChat", true ) addEventHandler ( "SAdminChat",root, isPlayerInGroup) ليه تكرار؟
  15. [مساعدة]: chat admin

    --s.lua aGroup = { {"Console","(الادارة) "}, {"Admin","( مدير ) "}, {"Level 1","( مشرف ) "}, {"Level 2","( مشرف2 ) "} }; function isPlayerInGroup(player) if not isGuestAccount(getPlayerAccount(player)) then for k,v in ipairs ( aGroup ) do if ( isObjectInACLGroup("user." .. getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( v[1] )) ) then return true end end end end function sendMsg( player, message ) if player and message then if isPlayerInGroup(player) then for r,pp in ipairs ( getElementsByType("player") ) do if isPlayerInGroup(pp) then mtag = nil for k,v in ipairs ( aGroup ) do if not mtag then local Group,Tag = v[1],v[2] mtag = Tag end end end if mtag then outputChatBox("* " ..mtag.."" ..getPlayerName ( player ).. " : #FFFFFF"..message,pp,255,0,0,true) if not isPlayerInGroup(player) then outputChatBox("" ..getPlayerName ( player ).. " : #FFFFFF"..message,player,255,0,0,true) end end end end end end function sendMsgChat( p,cmd,...) local msg = table.concat({...}, " ") sendMsg(p,msg) end addCommandHandler("Chat",sendMsgChat) addEventHandler("onResourceStart",root, function() for k,Player in ipairs(getElementsByType("Player")) do bindKey(Player,"n","down","chatbox","Chat") end end ); player + root = مازبط انا حطيت الكود انا الزوار وشايف كلام الادمن لييش ؟ ====== انا سويت جديده --c.lua function aTagChat (...) message = table.concat({...}, " ") triggerServerEvent ( "SAdminChat", localPlayer, message ) outputChatBox ( getElementData(source,"aGroupAdmin")..""..getPlayerName ( source )..": "..message, 255, 0, 0,true ) cancelEvent() end addEvent ( "CAdminChat", true ); addEventHandler ( "CAdminChat", root, aTagChat ); addCommandHandler("Chat",aTagChat); addEventHandler("onClientResourceStart",resourceRoot, function() bindKey("n","down","chatbox","Chat") end ); addEventHandler ( "onClientPlayerJoin",resourceRoot, function ( ) bindKey("n","down","chatbox","Chat") end ); ---====--- --s.lua aGroup = { {"Console","(الادارة) "}, {"Admin","( مدير ) "}, {"Level 1","( مشرف ) "}, {"Level 2","( مشرف2 ) "} }; function isPlayerInGroup(message) if not isGuestAccount(getPlayerAccount(source)) then for k,v in ipairs ( aGroup ) do if ( isObjectInACLGroup("user." .. getAccountName ( getPlayerAccount (source ) ), aclGetGroup ( v[1] )) ) then setElementData(source,"aGroupAdmin",v[2]) triggerClientEvent ( source, "CAdminChat", source,message) cancelEvent() return true end end end end addEvent ( "SAdminChat", true ) addEventHandler ( "SAdminChat",root, isPlayerInGroup) يطلع شات : (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك تكرر ليش ؟ --s.lua aGroup = { {"Console","(الادارة) "}, {"Admin","( مدير ) "}, {"Level 1","( مشرف ) "}, {"Level 2","( مشرف2 ) "} }; function isPlayerInGroup(player) if not isGuestAccount(getPlayerAccount(player)) then for k,v in ipairs ( aGroup ) do if ( isObjectInACLGroup("user." .. getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( v[1] )) ) then return true end end end end function sendMsg( player, message ) if player and message then if isPlayerInGroup(player) then for r,pp in ipairs ( getElementsByType("player") ) do if isPlayerInGroup(pp) then mtag = nil for k,v in ipairs ( aGroup ) do if not mtag then local Group,Tag = v[1],v[2] mtag = Tag end end end if mtag then outputChatBox("* " ..mtag.."" ..getPlayerName ( player ).. " : #FFFFFF"..message,pp,255,0,0,true) if not isPlayerInGroup(player) then outputChatBox("" ..getPlayerName ( player ).. " : #FFFFFF"..message,player,255,0,0,true) end end end end end end function sendMsgChat( p,cmd,...) local msg = table.concat({...}, " ") sendMsg(p,msg) end addCommandHandler("Chat",sendMsgChat) addEventHandler("onResourceStart",root, function() for k,Player in ipairs(getElementsByType("Player")) do bindKey(Player,"n","down","chatbox","Chat") end end ); player + root = مازبط انا حطيت الكود انا الزوار وشايف كلام الادمن لييش ؟ ====== انا سويت جديده --c.lua function aTagChat (...) message = table.concat({...}, " ") triggerServerEvent ( "SAdminChat", localPlayer, message ) outputChatBox ( getElementData(source,"aGroupAdmin")..""..getPlayerName ( source )..": "..message, 255, 0, 0,true ) cancelEvent() end addEvent ( "CAdminChat", true ); addEventHandler ( "CAdminChat", root, aTagChat ); addCommandHandler("Chat",aTagChat); addEventHandler("onClientResourceStart",resourceRoot, function() bindKey("n","down","chatbox","Chat") end ); addEventHandler ( "onClientPlayerJoin",resourceRoot, function ( ) bindKey("n","down","chatbox","Chat") end ); ---====--- --s.lua aGroup = { {"Console","(الادارة) "}, {"Admin","( مدير ) "}, {"Level 1","( مشرف ) "}, {"Level 2","( مشرف2 ) "} }; function isPlayerInGroup(message) if not isGuestAccount(getPlayerAccount(source)) then for k,v in ipairs ( aGroup ) do if ( isObjectInACLGroup("user." .. getAccountName ( getPlayerAccount (source ) ), aclGetGroup ( v[1] )) ) then setElementData(source,"aGroupAdmin",v[2]) triggerClientEvent ( source, "CAdminChat", source,message) cancelEvent() return true end end end end addEvent ( "SAdminChat", true ) addEventHandler ( "SAdminChat",root, isPlayerInGroup) يطلع شات : (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك (الادارة) MeDo7: Chat حياك تكرر ليش ؟