Jump to content

AboShanab

Members
  • Posts

    1,348
  • Joined

  • Last visited

Everything posted by AboShanab

  1. ابي اعرف انا الى متى النسخ والصق .. ؟ وقسسم بايات الله يوم انا كنت مبتدا مثلك كنت احاول شوي ع الاقل .. !! -- # Client Side ! GUIEditor = { button = {}, window = {}, scrollbar = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(313, 249, 384, 228, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) showCursor(false) GUIEditor.button[1] = guiCreateButton(10, 185, 77, 28, "Engine", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(105, 185, 77, 28, "Lock", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(201, 185, 77, 28, "Unlock", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(297, 185, 77, 28, "Light", false, GUIEditor.window[1]) GUIEditor.scrollbar[1] = guiCreateScrollBar(9, 27, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.scrollbar[2] = guiCreateScrollBar(9, 52, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.scrollbar[3] = guiCreateScrollBar(9, 77, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.scrollbar[4] = guiCreateScrollBar(9, 102, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.scrollbar[5] = guiCreateScrollBar(10, 127, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.scrollbar[6] = guiCreateScrollBar(10, 152, 201, 15, true, false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(215, 26, 159, 16, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(215, 51, 159, 16, "", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(215, 76, 159, 16, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(215, 101, 159, 16, "", false, GUIEditor.window[1]) GUIEditor.label[5] = guiCreateLabel(215, 126, 159, 16, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(215, 152, 159, 16, "", false, GUIEditor.window[1]) function openCloseWindow(player) if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) else guiSetVisible(GUIEditor.window[1], true) showCursor(true) end end bindKey("l", "down", openCloseWindow) addEventHandler("onClientGUIClick",root,function() if ( source == GUIEditor.button[3] ) then triggerServerEvent("Unlock",localPlayer) end end) -- # Server Side ! addEvent("Unlock",true) addEventHandler("Unlock",root,function() if ( isPedInVehicle(source) ) then if ( isVehicleLocked(getPedOccupiedVehicle(source)) ) then setVehicleLocked(getPedOccupiedVehicle(source) , false) end end end)
  2. الكود مبين عليه انه منسوخ ,, لفتح قفل سيارة استخدم ,, setVehicleLocked
  3. if ( getPlayerTeam(localPlayer) == getTeamFromName("Qatar") ) then return false end
  4. -- # Client Side ! addEventHandler("onClientGUIClick",root,function() if ( source == button ) then toggleAllControls(false) setTimer(toggleAllControls,3000,1,true) end end) في السطر الـ 3 استبدل الـ button الى اسم الزر
  5. addEventHandler("onClientGUIClick",root,function() if ( source == button ) then guiSetVisible(window, true) showCursor(true) end end) التعديلات : في السطر الثاني استبدل button الى اسم الزر حقك وفي السطر 3 استبدل window الى اسم النافذة اللي تبيها تطلع يوم يضغط الزر
  6. مود رائع .. ي الله عليك ي انك مبدع .. بالتوفيق لك ..
  7. ربي يسلمك .. الله يعافيك .. حياك الله
  8. لا ماهو السرعه مدة التحرك مثلا تبي البوابة تتحرك الى مدة 5 ثواني تكتب 5000
  9. جرب # theMarker = createMarker ( -3172.04, -2954.92, 5, "cylinder", 2, 255, 255, 0, 170 ) door = createObject ( 971, -3173.30, -2956.10, 5 ) addEventHandler( "onMarkerHit", theMarker,function(element) if getElementType(element) == 'player' then moveObject ( door, 5000, -3173.30, -2956.10, 37.42 ) end end) addEventHandler( "onMarkerLeave", theMarker,function(element) if getElementType(element) == 'player' then moveObject ( door, 5000, -3172.04, -2954.92, 5 ) end end)
  10. window = guiCreateWindow(353, 146, 323, 358, "h-a-m-z-a", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car Group", 0.9) button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") button = guiCreateButton(288, 25, 26, 22, "X", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = { 541,560 } for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",root, function () if ( source == button ) then guiSetVisible(window,false) showCursor(false) elseif ( source == button2 ) then local sel = guiGridListGetSelectedItem(gridlist) local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if sel ~= -1 then triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) else outputChatBox("* Please Select Car",255,0,0,true) end end end) local car = createMarker ( 825.42285,-2084.40015,12.92344, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getElementData(hitPlayer, "Group" ) == "Good" ) then guiSetVisible ( window ,true ) showCursor( true ) end end end)
  11. اخوي # اصدار الـ guieditor حقـك قديم .. حمل اخر اصدار : https://community.multitheftauto.com/in ... ils&id=141 ثاني شي : هذا الكود حقك سويته لك على الاصدار الجديد -- # Client Side ! GUIEditor = { staticimage = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 104, 800, 411, "SHOP HUNTER VER 1.0", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 33, 782, 369, "hunter/logohunter.png", false, GUIEditor.window[1]) guiSetAlpha(GUIEditor.staticimage[1], 0.10) w1 = guiCreateButton(9, 142, 199, 196, "", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(3, 5, 184, 156, "hunter/minigun.png", false, w1) GUIEditor.label[1] = guiCreateLabel(21, 147, 157, 44, "buy 10000", false, w1) guiSetFont(GUIEditor.label[1], "sa-gothic") GUIEditor.label[2] = guiCreateLabel(8, 17, 5, 5, "", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(47, 26, 678, 45, "WELCOME TO SHOP HUNTER", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetColor(GUIEditor.label[3], 225, 0, 0) w2 = guiCreateButton(208, 142, 199, 196, "", false,GUIEditor.window[1]) GUIEditor.staticimage[3] = guiCreateStaticImage(3, 7, 185, 157, "hunter/flame.png", false, w2) GUIEditor.label[4] = guiCreateLabel(24, 148, 144, 45, "buy 9000", false, w2) guiSetFont(GUIEditor.label[4], "sa-gothic") w3 = guiCreateButton(406, 142, 199, 196, "", false, GUIEditor.window[1]) GUIEditor.staticimage[4] = guiCreateStaticImage(4, 5, 192, 166, "hunter/heatseek.png", false, w3) GUIEditor.label[5] = guiCreateLabel(23, 150, 155, 45, "buy 10000", false, w3) guiSetFont(GUIEditor.label[5], "sa-gothic") w4 = guiCreateButton(606, 142, 185, 196, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(16, 146, 159, 46, "buy 10000", false, w4) guiSetFont(GUIEditor.label[6], "sa-gothic") GUIEditor.staticimage[5] = guiCreateStaticImage(3, 4, 181, 157, "hunter/rocketla.png", false, w4) end ) bindKey ( "F2" , "down" , function() if ( guiGetVisible ( GUIEditor.window[1] ) ) then guiSetVisible ( GUIEditor.window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end) addEventHandler ("onClientGUIClick", root,function() if ( source == w1 ) then triggerServerEvent("w1",getLocalPlayer()) elseif ( source == w2 ) then triggerServerEvent("w2",getLocalPlayer()) elseif ( source == w3 ) then triggerServerEvent("w3",getLocalPlayer()) elseif ( source == w4 ) then triggerServerEvent("w4",getLocalPlayer()) end end) --# Server Side ! addEvent("w1",true) addEventHandler("w1",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 10000) then takePlayerMoney(source,10000) giveWeapon ( source , 38,999 ) setPedWeaponSlot(source, getSlotFromWeapon(38)) local name = getPlayerName(source) outputChatBox ( "#330079" .. name .. " #00FF00 Has Bought weapon ", getRootElement(), 255, 0, 0, true ) else outputChatBox("You don't have $10000 ", source, 255, 0, 0, true) end end ) ------------------------------------------------------------------------------------------m4 addEvent("w2",true) addEventHandler("w2",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 9000) then takePlayerMoney(source,9000) giveWeapon ( source , 37,999 ) setPedWeaponSlot(source, getSlotFromWeapon(37)) local name = getPlayerName(source) outputChatBox ( "#330079" .. name .. " #00FF00 Has Bought weapon ", getRootElement(), 255, 0, 0, true ) else outputChatBox("You don't have $9000", source, 255, 0, 0, true) end end ) addEvent("w3",true) addEventHandler("w3",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 10000) then takePlayerMoney(source,10000) giveWeapon ( source , 36,999 ) setPedWeaponSlot(source, getSlotFromWeapon(36)) local name = getPlayerName(source) outputChatBox ( "#330079" .. name .. " #00FF00 Has Bought weapon ", getRootElement(), 255, 0, 0, true ) else outputChatBox("You don't have $10000 ", source, 255, 0, 0, true) end end ) ------------------------------------------------------------------------------------------m4 addEvent("w4",true) addEventHandler("w4",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 10000) then takePlayerMoney(source,10000) giveWeapon ( source , 35,999 ) setPedWeaponSlot(source, getSlotFromWeapon(35)) local name = getPlayerName(source) outputChatBox ( "#330079" .. name .. " #00FF00 Has Bought weapon ", getRootElement(), 255, 0, 0, true ) else outputChatBox("You don't have $10000", source, 255, 0, 0, true) end end )
  12. تم التطوير التحميل https://community.multitheftauto.com/ind ... 185&vote=5
  13. السلام عليكم ورحمة الله وبركاته اخباركم شباب .. عساكم بخير وصحة وسلامة .. اليوم مصمم لكم مود البلاك ليست طبعا المميزات : يمكنك اضافة لاعب الى البلاك ليست يوم يخش الاعب اللي بـ البلاك ليست ي يقول له You Are In Black List ! التحميل : https://community.multitheftauto.com/ind ... ls&id=8185 ومضضضهـ : المود مو مشفر ..
  14. يعطيك العافية شرح وافي وكافي ..
  15. تواصل معي سكايب .. انا بو شنب .. alooy.almajhol
  16. math.floor ابي شرح مبسط عنهـ .. وش يسوي يعني .. ووش فايدته !!
  17. مبدع .. !! واصل بدون فواصل .. !! يعطيك العافية .. !! احلى تحيةة .. !!
  18. من جد مقطع رائع .. !! الله يعطيهـ الف عافية اللي رفعهـ .. !! جعلهـ بموازين حسناته .. !! وانت كمان بشر يعطيك العافية .. !! الله يجعله بموازين حسناتك .. !!
  19. يعطيك الف الف عافية .. موضوع اكثر من رائع ..
  20. اعتمد على نفسك شوي مو كل شي جاهز ,,
  21. Stolen : https://community.multitheftauto.com/in ... ls&id=8148 Original : https://community.multitheftauto.com/ind ... ls&id=8093 DONE
  22. ممكن من سيرفرك ,, جربهـ بسيرفر خويك ,,
  23. local theMarker1 = createMarker ( 268.60382, 1883.84534, 13.55536, "cylinder", 4, 255, 255, 255, 0) function boom() createExplosion( 268.60382, 1883.84534, 13.55536, 0 ) end addEventHandler("onMarkerHit", theMarker1, boom) الـ 0 هو النوع حق القتل الويكي يقول ! 0: Grenade 1: Molotov 2: Rocket 3: Rocket Weak 4: Car 5: Car Quick 6: Boat 7: Heli 8: Mine 9: Object 10: Tank Grenade 11: Small 12: Tiny
×
×
  • Create New...