Jump to content

Ahmed Ly

Members
  • Posts

    1,304
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ahmed Ly

  1. GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(67, 130, 603, 334, "{نظام مسابقات}", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.label[1] = guiCreateLabel(109, 27, 519, 21, "؛{مرحبا بكم في نظام مسابقات حصري خاص بسيرفر هجولة تايم}؛", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 255, 252, 49) GUIEditor.label[2] = guiCreateLabel(62, 50, 511, 15, "================================================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(104, 70, 512, 38, "{هدا نظام يساعدك على دخول الى مسابقة واخد شخصية خاصة بمسابقة}", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 252, 49) GUIEditor.label[4] = guiCreateLabel(77, 90, 496, 15, "===========================================================", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(437, 114, 156, 28, "انتقال الى مجمع مسابقات", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF31FE44") GUIEditor.button[2] = guiCreateButton(225, 115, 181, 27, "اخد شخصية خاصة بمسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF31FE44") GUIEditor.button[3] = guiCreateButton(9, 115, 189, 26, "استفسار عن مسابقة ووقت مسابقة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF31FE44") GUIEditor.label[5] = guiCreateLabel(104, 152, 450, 21, "=======================================================", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(28, 166, 553, 141, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Rules Server", 0.9) for i = 1, 18 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "#[ يمنع تخريب بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "#[ لي يخرب بمسابقة سلابين ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "#[ عدم ظلم بنسبة لمشرفين مسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "#[ هناك رتبة خاصة لمنضمين مسابقة اسمها MonaDim]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "#[ عدم الالتزام بالقانون ومخالفتها = سحب رتبة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "#[ ================================================= ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "#[ لكي تكون مشرف بمسابقة المرجو الالتزام بهده القوانين]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "#[ تواجد]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "#[ مساعدة مشرف مسابقة]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "#[ عدم تغير شخصيات لاعبين بمسابقة ]", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 10, 1, "#[ عدم سب والشتم والقدف والاستهزام باي نوع كان ]", false, false) GUIEditor.label[6] = guiCreateLabel(91, 442, 120, 15, "@ByMarco", false) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 254, 247, 47) guiSetVisible (GUIEditor.window[1], false) guiSetVisible (GUIEditor.label[6] , false) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) guiSetVisible (GUIEditor.label[6] , true) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) guiSetVisible (GUIEditor.window[1], true) guiSetVisible (GUIEditor.label[6] , true) end end bindKey("F2", "down", OpenWin) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[1] then setElementPosition (localPlayer, -2664.45776,-3495.19702,4.96875 ) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[2] then setPlayerSkin(localPlayer, 23) outputChatBox("تم اعطائك شخصية الخاصة بمسابقة المرجو عدم تغيرها لتجنب المREشاكل.", localPlayer,0,255,0) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[3] then executeCommandHandler ( "report" ) end end )
  2. احذف ملف Client وخلي Server و جرب كود متاع باور و اكتب في اف8 debugscript
  3. addEventHandler("onClientGUIClick",root function () if ( source == b1 ) then setPedAnimation(localPlayer, "ped", "crckidle3") end end )
  4. addEventHandler( "onPlayerChat", root, function (message ) if ( message == "ورع" ) then cancelEvent() outputChatBox ( "[#FF0000Chat System ] #000fff **عذرا , الكلام الذي كنت ستقوله ممنوع في السيرفر**", source, 0, 255, 0, true ) end end )
  5. addEventHandler ( "onPlayerWasted", root, function ( _, attacker ) if ( attacker and attacker ~= source and getElementType(attacker) == "player" ) then triggerClientEvent ('notices', attacker) setElementHealth ( attacker, getElementHealth ( attacker ) + 35 ) end end ) addEvent('notices', true) addEventHandler('notices', root, function () exports.notices:addNotification("لقد حصلت على 100 دم","success") end )
  6. Open = { edit = {}, } addEventHandler("onClientResourceStart",root, function () Open.edit[1] = guiCreateEdit(151, 268, 174, 24, "ضع هنا سكايب او فيس صحاب", false) Open.edit[2] = guiCreateEdit(335, 268, 174, 24, "ضع هنا سكايب او فيس صحاب", false) Open.edit[3] = guiCreateEdit(489, 238, 174, 24, "ضع هنا سكايب او فيس صحاب", false) Open.edit[4] = guiCreateEdit(155, 321, 174, 24, "ضع هنا سكايب او فيس النائبين", false) Open.edit[5] = guiCreateEdit(486, 321, 174, 24, "ضع هنا سكايب او فيس النائبين", false) for i = 1,5 do guiSetVisible(Open.edit[i],false) end end ) function Window () dxDrawRectangle(145, 47, 518, 484, tocolor(0, 0, 0, 255), false) dxDrawImage(234, 359, 338, 144, ":image/image/Untitled.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("* لتواصل مع اصحاب السيرفر", 151, 220, 311, 244, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("Name Owner", 151, 248, 311, 272, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("Owner2", 325, 244, 485, 268, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("Owner3", 495, 224, 655, 248, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawLine(149, 295, 660, 295, tocolor(178, 180, 0, 255), 1, true) dxDrawText("T.Dev1", 155, 302, 315, 326, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("T.Dev2", 490, 302, 650, 326, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawLine(145, 349, 656, 349, tocolor(178, 180, 0, 255), 1, true) dxDrawLine(152, 214, 663, 214, tocolor(178, 180, 0, 255), 1, true) dxDrawText("* اهلا بكم في لوحة تواصل مع اصحاب و مشرفين الالسيرفر جميعهم", 229, 57, 389, 81, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("* يمكن النسخ حساب الشخص الذي تريده من نائب او صاحب سيرفر", 229, 91, 389, 115, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("* لا تنسى زيارت تيم سبيك حقنا ( ان وجد ) او الموقع سيرفر ( ان وجد )", 229, 125, 389, 149, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("* وسلام عليكم ورحمة الله وبركاته الختام بكلمة شكرر توفينا لكم ما لدينا", 229, 159, 389, 183, tocolor(181, 0, 0, 255), 1, "sans", "left", "top", false, false, true, false, false) dxDrawText("Creatd By ?SiR,?GoKa[R]~#", 145, 503, 305, 527, tocolor(181, 0, 0, 255), 1, "pricedown", "left", "top", false, false, true, false, false) end function OpenWin() if removeEventHandler("onClientRender",root,Window) then removeEventHandler("onClientRender",root,Window) showCursor(false) showChat(true) for i = 1,5 do guiSetVisible(Open.edit[i],false) end else addEventHandler("onClientRender",root,Window) showCursor(true) showChat(false) for i = 1,5 do guiSetVisible(Open.edit[i],true) end end end bindKey("F3","down",OpenWin)
  7. كفؤ سكربت روعة ومفيد بالتوفيق في المودات الجايه
  8. FontWnd = guiCreateFont( "Font.ttf", 19 ) GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] (606, 211, 192, 119," Mode#Hrdaz BY Marco", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.94) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFDDFE00") GUIEditor.button[1] = guiCreateButton(37, 22, 134, 36," تشغيل هردز / Start Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[1],FontWnd) GUIEditor.button[2] = guiCreateButton(38, 67, 133, 36, "إيقاف الهدرز / Stop Hadrz", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF6FE00") guiSetFont(GUIEditor.button[2],FontWnd) guiSetVisible( GUIEditor.window[1],false) bindKey("F1", "down", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then if not isPedInVehicle(localPlayer) then return outputChatBox(" # - [ الهدرز | آنت لست داخل الموتر] - # ",172, 92, 20,true) end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("ksa.mp3",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end )
  9. ضيف قيم مود التكتيك لي قروب ادمن في اسل resource.tactics
  10. نفس المشكله جرب هدا function start (player) triggerServerEvent(player,"hh",player) end addCommandHandler("op",start)
  11. function start () triggerServerEvent("hh",localPlayer) end addCommandHandler("op",start)
  12. https://forum.multitheftauto.com/viewtopic.php?f=160&t=100904
  13. local Vehcile = {}; local ID = 429 addEventHandler( "onPlayerChat", root, function ( msg ) if ( msg and msg == "موتر" ) then if isElement( Vehcile[source]) then destroyElement( Vehcile[source] ) end local x, y, z = getElementPosition ( source ) Vehcile[source] = createVehicle( ID, x + 3, y, z ) warpPedIntoVehicle ( source, Vehcile[source] ) end end )
  14. وين function + وين addEventHandler("onClientGUIClick",root, كودك غلط
×
×
  • Create New...