Jump to content

iMr.G[7]A

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by iMr.G[7]A

  1. ابي منكم طلب؟ الرجاء عدم التكليج ابي اغير الخط اذا ابي اكتب شي ابي الكود جاهز وابي مثآل له يعني لو سمحت يعني + وابي امممم . اقولك ولا شي ------------------------------------------------------------------------ أنتي بغيهـ واحد يكون دمو بـ،ارد
  2. سويت ساحة حرب وابي اللي يدخلها يجمع اسلحها واذا طلع برع المنطقة تروح الاسلحة حتى لو انتقل.
  3. السلام عليكم شباب ابي منكم طلب شوفو الكود جايبه من اف 1 guiSetProperty(getControl(wndMain, 'إنتحار'), "NormalTextColour", "FF888888") اها شايفين؟ ابي اغير الخط لانه يجي في اف 1 كذآ ~~ وابي يتلون الكلمة كل شوي ~ ما ابي لون الرجآء الرد والسلام عليكم
  4. كيلر سولي بس ماركر تدخله تصير شرطي وانا اكمل الباقي.
  5. السسلام عليكم ورحمة الله وبركاته ششباب ابي كود تجهزونه لي لو سمحتو ابي 3 ماركرات ماركاكات كتاكت مدري كيف اجمعها المهم ابي 3 ماركر ابي واحد تدخل تصير تيم شرطي والثاني تدخه تصير تيم مجرم وثالث تدخله تصير تيم مسعف تكفووون
  6. ابي الكود ذا يفتح بـ شخصيه ما ابيه يفتح بـ قروب ~ وبسس local groupName = "[Army]" local x, y, z = 642.76642 ,1931.72668 ,19.20983 local colShape = createColRectangle ( -126.26940917969, 1636.9686279297, 40.705104827881, 584.5, 589.75, 2 ) addEventHandler ( "onColShapeHit", colShape, function ( theElm ) if ( getElementType ( theElm ) == "player" ) and ( getElementData ( theElm, "gang" ) ~= groupName ) then if ( isPedInVehicle ( theElm ) ) then setElementPosition ( getPedOccupiedVehicle ( theElm ), 643.29998779297,1715.5,7 ) else setElementPosition ( theElm, 643.29998779297,1715.5,16 ) end end end )
  7. يا الـ ذيب اكتب في اللفل -100 ضض1
  8. لازم انجليزي وش اكتب تبيني ؟
  9. آلْسْسْلْآمْ عْلْيْڪْمْ ڪْيْفْڪْمْ شْبْآبْ مْخْيْسْيْنْ ؟ آلْيْوْمْ مْنْ آلْطْفْشْ قْلْتْ بْنْزْلْ مْوْضْوْعْ وْبْخْلْيْﮬ̲̣̐ عْنْ تْصْمْيْمْ آلْشْعْآرْآتْ تْبْيْ شْعْآرْ يْآ حْلْوْ ؟ آنْآ مْوْجْوْدْ آطْلْبْ آسْوْيْلْڪْـ آمْثْلْﮬ̲̣̐ـ 1- 2- آلْخْطْوْطْ آخْتْآرْ خْطْ ~ ڪْلْﮬ̲̣̐آ مْنْ تْصْمْيْمْيْ مثال: اسمكـ : G7A رقم الخط : 5 اللون : احمر
  10. غْلْطْ قْصْدْيْ مْثْلْ آلْآيْقْوْنْآتْ فْيْ آفْ 11 آبْيْ آنْآ آسْوْيْ آيْقْوْنْةْ وْآحْطْﮬ̲̣̐ـآ
  11. اَلَسَلَاَمَ عَلَيَكَمَ ... طَاَلَبَكَمَ بَـ حَاَجَةٍ مَدَرَيَ مَوًّجَوًّدَةٍ اَوًّ لَآ ؟ اَبَيَ اَنَاَ كَوًّدَ اَوًّ مَوًّدَ اَوًّ سَكَرَبَتَ اَلَزَّبَدَةٍ بَسَ اَبَيَ اَسَوًّيَ صَوًّرَةٍ وًّاَبَيَهَاَ تَطَلَعَ لَيَ بَـ اَفَـ11 ~ وًّاَبَيَ حَاَجَةٍ ثَاَنَيَةٍ "اَبَيَ اَلَصَوًّرَةٍ مَاَ تَطَلَعَ لَيَنَ مَثَلَآ اَكَتَبَ "اَظَهَاَرَ"; وًّتَخَتَفَيَ اَذاَ كَتَبَتَ "اَخَفَاَء فَقَطَ اَتَمَنَآء اَلَرَدَ اَلَسَسَرَيَعَ ^.^ -------------------------------------------------- ملآحٍظًةِ : لْلْيْ يْسْألْ لْيْﮬ̲̣̐ مْزْخْرْفْةْ آخْوْيْ آلْـ زْفْتْ حْمْلْ بْرْنْآمْجْ يْزْخْرْفْ ڪْلْآمْڪْ ~ ڪْلْﮬ̲̣̐ يْآ رْيْتْنْيْ مْآ عْطْيْتْﮬ̲̣̐ آلْلْآبْ ~ قْبْلْ مْآ آرْوْحْ
  12. أوفـق تحيآتي اخوكـ : جحآ اتمنى عدمـم نسساني بآلتوفيق يا اخوي ألغآلي -------------------------- أسال الله ان يوفقكم على المشروع -------------------------- احس نفسي في خطبة حقت الجمعة ض1 بالتوفيق ..
  13. لحين ابيك تنزل موضوع كيف عمل ماركر 3D
  14. سلام عليكم شباب انا ابي اسوي قيم مود زومبي سويت لوحه وفي قريد ليست يختار شرطي رقم 1 , شرطي 2 , شرطي 3 , شرطي 4 , مثلا ضغط على رقم 1 يكبس عليه ويكون في تحت زر Ok اذا كبس على اوك يعطي شخصيه ويرسبنه وتروح لوحه والباقي ما باقي .. وعشان ااذا كبس على قريد ليست اسخدم onClientGUIClick
  15. السلام عليكم عندي وظيفة المهندس اللي يصلح السسيارات المهم ابي اذآ كتبت في اف8 fix هو يصلح الموتر بسرعة ابيه انا ماهو بسرعة يطلع تحت عد تصاعدي للـ 100 ويصلحه~ وبسس الكود~ Teame = createTeam("Mechnical", 255, 255, 0) taxiTeams = { [Teame] = true } taxiVehs = { [525] = true } function teamSet ( ) local team = getTeamFromName ( "Mechnical" ) if team then setPlayerTeam ( source, team ) setPlayerNametagColor ( source, 255, 255, 0 ) setElementModel(source, 50) createVehicle(525, 1041.37878, -1028.65613, 32.10156) else local teamw = getTeamFromName ( "Mechnical" ) if teamw then cancelEvent() end end end addEvent ( "sTeame", true) addEventHandler ( "sTeame", root, teamSet ) function enterVehicle ( thePlayer, seat, jacked ) -- when a player enters a vehicle if getElementType ( thePlayer ) == "player" then if ( taxiVehs[getElementModel ( source )] ) and ( not taxiTeams[getPlayerTeam( thePlayer )] ) then -- if the vehicle is one of 4 police cars, and the skin is not a police skin removePedFromVehicle( thePlayer )-- force the player out of the vehicle end end end addEventHandler ( "onVehicleEnter", getRootElement(), enterVehicle ) markers = { } blips = { } peds = { } mposi = { } mposii = {} function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end function inVEH ( thePlayer ) if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then if ( getElementModel ( source ) == 420 ) then startJob ( thePlayer ) end end end addEventHandler ( "onVehicleEnter", getRootElement(), inVEH ) function warpit ( thePlayer ) if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then local vehiclee = getPedOccupiedVehicle ( thePlayer ) if ( getElementModel ( vehiclee ) == 420 ) then setTimer ( warpPedIntoVehicle, 2000, 1, peds [ thePlayer ], vehiclee, 2 ) destroyJob ( thePlayer ) local x, y, z = unpack ( dropoffss [ math.random ( #dropoffss ) ] ) markers [ thePlayer ] = createMarker ( x, y, z - 1, "cylinder", 5.0, 255, 0, 0, 50 ) mposii = { getElementPosition( markers [ thePlayer ] ) } blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 41 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], pickmeup ) end end end function pickmeup ( thePlayer ) if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then destroyJob ( thePlayer ) local mx, my, mz = unpack ( mposi ) local mmx, mmy, mmz = unpack ( mposii ) local money = getDistanceBetweenPoints2D ( mx, my, mmx, mmy ) finalmoney = math.floor ( money ) if finalmoney then setTimer( givePlayerMoney, 3000, 1, thePlayer, finalmoney ) setTimer( outputChatBox, 3000, 1, thePlayer, "You have earned ".. money .."!", 0, 144, 0) setTimer ( function ( ) if ( isElement ( peds [ thePlayer ] ) ) then destroyElement ( peds [ thePlayer ] ) end startJob ( thePlayer ) end ,3000, 1 ) end end end function deleteOnExit ( thePlayer ) if ( isElement ( markers [ thePlayer ] ) ) then destroyElement ( markers [ thePlayer ] ) end if ( isElement ( blips [ thePlayer ] ) ) then destroyElement ( blips [ thePlayer ] ) end if ( isElement ( peds [ thePlayer ] ) ) then destroyElement ( peds [ thePlayer ] ) end end addEventHandler ( "onVehicleExit", getRootElement(), deleteOnExit ) function destroyJob ( thePlayer ) if ( isElement ( markers [ thePlayer ] ) ) then destroyElement ( markers [ thePlayer ] ) end if ( isElement ( blips [ thePlayer ] ) ) then destroyElement( blips [ thePlayer ] ) end end function consoleSetPlayerPosition ( source, commandName, posX, posY, posZ ) setElementPosition ( source, posX, posY, posZ ) end addCommandHandler ( "setpos", consoleSetPlayerPosition ) addCommandHandler( 'fix', function( aPlayer ) if getPlayerTeam( aPlayer ) and ( getTeamName( getPlayerTeam( aPlayer ) ) == 'Mechnical' ) then for _, aV in pairs ( getElementsByType 'vehicle' ) do if ( getElementHealth( aV ) <= 999 ) then local pX, pY, pZ = getElementPosition( aPlayer ) local vX, vY, vZ = getElementPosition( aV ) if ( getDistanceBetweenPoints3D( pX, pY, pZ, vX, vY, vZ ) <= 4 ) then fixVehicle( aV ) givePlayerMoney( aPlayer, 1000 ) end end end end end )
  16. يوم اششغل القيم مود يا شباب احط اكثر من شخصية شرطي ولا تطلع الرجاء التعديل والنو تيم مثله الحل ~ بالله local x, y = guiGetScreenSize() rRoot = getResourceRootElement(getThisResource()) Music = "Other/Intro.mp3" Anims = {"DAN_UP_A", "dnce_M_b", "DAN_Left_A", "DAN_Down_A", "DAN_Loop_A", "dance_loop"} num = 0 local TeamNameee = "" local Team = "" local findskin = nil local Text = "" local mn = nil Color = {255, 255, 255} local NewTeam = 0 local ID, skin = nil, nil, nil TeamName = {"Grove", "Aztecas", "Police", "Ballas", "No Team", "Medic"} local WaeponID = {5, 22, 3, 1, 32, 41, 43} allPlayer = 0 local Weapon = 0 local NameWeap = "Fist" GameType = {} ColorGame = {0, 255, 255} GameNameType = "" Info = {} SkinSelectMusic = nil local foundTeam = 0 local findskin = 0 typeGame = "gang" local foundInTeam = "" local foundInall = "" Ped = {} skin = { Grove = {105, 106, 107}, Aztecas = {115, 116, 117}, Police = {283, 284, 285, 286, 287, 288, 289}, Ballas = {102, 103, 104}, ["No Team"] = {29, 30, 31}, Medic = {274, 275, 276}, Drift = {46, 124, 43, 63, 64, 75, 285, 0} } AllTeamName = { Grove = {2494.96948, -1684.03101, 14.3313, 2494.98486, -1685.02856, 14.26363, 2495.38843, -1688.54297, 13.87171}, Aztecas = {1764.75586, -1928.03674, 15.2383, 1763.80432, -1928.0498, 14.93086, 1761.0708, -1928.08801, 13.57734}, Police = {1568.73779, -1695.54541, 7.0456, 1568.71582, -1694.55835, 6.8869, 1568.64075, -1691.68494, 5.89063}, Ballas = {2217.03027, -1167.91956, 27.0701, 2217.0166, -1168.89661, 26.85767, 2216.97534, -1171.77625, 25.72656}, ["No Team"] = {901.33551, -1208.65796, 18.4756, 901.27332, -1207.69299, 18.22063, 901.05676, -1204.8208, 16.98322}, Medic = {2022.72839, -1426.36877, 18.3914, 2023.34521, -1425.61548, 18.16297, 2025.20178, -1423.47644, 16.99219}, } Rot = {357.4391784668, 271.10339355469, 179.70733642578, 0, 179.01052856445, 132.08488464355} CamGameType = { {2454.49487, -1654.69812, 26.19402, 2541.42432, -1686.7251, -11.45641} } function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, alignX, alignY) bx, by, color, scale, font = bx or ax, by or ay, color or tocolor(255,255,255,255), scale or 1, font or "default" if alignX then if alignX == "center" then ax = ax + (bx - ax - dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font))/2 elseif alignX == "right" then ax = bx - dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) end end if alignY then if alignY == "center" then ay = ay + (by - ay - dxGetFontHeight(scale, font))/2 elseif alignY == "bottom" then ay = by - dxGetFontHeight(scale, font) end end local alpha = string.format("%08X", color):sub(1,2) local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor(getColorFromString("#"..col..alpha)) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font,"left", "top", false, false, true, false, false) ax = ax + w color = tocolor(getColorFromString("#"..col..alpha)) end last = e + 1 s, e, cap, col = str:find(pat, last) end if last <= #str then cap = str:sub(last) dxDrawText(cap, ax, ay, ax + dxGetTextWidth(cap, scale, font), by, color, scale, font,"left", "top", false, false, true, false, false) end end local function getTeam(team) return getTeamFromName(team) end local function count(team) return countPlayersInTeam(getTeamFromName(team)) end function onStop() resetSkyGradient() showChat(true) showPlayerHudComponent("all", true) end addEventHandler("onClientResourceStop", resourceRoot, onStop) function foundPos(nummm) local foundPo = AllTeamName[TeamName[NewTeam]][tonumber(nummm)] return foundPo end function showforallteam() foundInTeam = "There are Players" foundInall = "all Players" GameType = {"Gang Wars"} Info = {"Wlecom To Gang Wars","To Spawn press [Enter]"} fadeCamera( true ) GameNameType = "Gang Wars" mn = nil showChat(false) bindKey("enter","down",SpawnGameType) l1, l2, l3, l4, l5, l6 = unpack(CamGameType[1]) info1 = Info[1] info2 = Info[2] ShowGameType() addEventHandler("onClientRender",getRootElement(),DrawGameType) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), function(killer, weapon, bodypart) if getElementData(localPlayer, "WasChangeTeam") == true then showforallteam() else return false end end) function ShowGameType() ColorGame = {255,255,0} l1, l2, l3, l4, l5, l6 = unpack(CamGameType[1]) setCameraMatrix(l1, l2, l3, l4, l5, l6) SelectGame = 1 GameNameType = GameType[1] count2 = count("Grove") count3 = count("Aztecas") count4 = count("Police") count5 = count("Ballas") count6 = count("No Team") mn = count2 + count3 + count4 + count5 + count6 typeGame = "gang" end function SpawnGameType() if typeGame == "gang" then setTimer(MakeGangWars, 500, 1) end unbindKey("enter", "down", SpawnGameType) TeamNameee = "Team Name" end function MakeGangWars() Color = {0, 255, 0} Team = " " .. TeamName[1] .. " " allPlayer = count(TeamName[1]) Weapon = WaeponID[1] NameWeap = getWeaponNameFromID(Weapon) NameWeap = getWeaponNameFromID(Weapon) NewTeam = 1 local x, y, z, lx, ly, lz = foundPos(1), foundPos(2), foundPos(3), foundPos(4), foundPos(5), foundPos(6) setCameraMatrix(x, y, z, lx, ly, lz) removeEventHandler("onClientRender", getRootElement(), DrawGameType) bindKey("arrow_r", "down", Next) bindKey("arrow_l", "down", Next) bindKey("enter", "down", SpawnPlayer) addEventHandler("onClientRender", getRootElement(), DrawTeam) SkinSelectMusic = playSound(Music, true) local pedx, pedy, pedz = foundPos(7), foundPos(8), foundPos(9) findskin = math.random(1, 3) ID = 105 Ped[1] = createPed(ID, pedx, pedy, pedz, Rot[1]) if not isElement(Ped[1]) then Ped[1] = createPed(ID, pedx, pedy, pedz, Rot[NewTeam]) end setElementFrozen(Ped[1], true) setPedAnimation(Ped[1], "DANCING", Anims[math.random(1, 6)]) foundTeam = 1 findskin = 1 end function Next(key) if key == "arrow_l" then num = num - 1 else num = num + 1 end if key == "arrow_l" then findskin = findskin - 1 else findskin = findskin + 1 end if findskin < 1 then findskin = 3 end if findskin > 3 then findskin = 1 end if num < 1 then num = 16 foundTeam = 6 elseif num == 1 then foundTeam = 1 elseif num == 4 then foundTeam = 2 elseif num == 7 then foundTeam = 3 elseif num == 10 then foundTeam = 4 elseif num == 13 then foundTeam = 5 elseif num == 16 then foundTeam = 6 elseif num == 19 then foundTeam = 1 num = 1 end number = foundTeam ID = skin[TeamName[number]][findskin] Team = " " .. TeamName[number] .. " " NewTeam = foundTeam TextColor(number) setElementModel(Ped[1], ID) setPedAnimation(Ped[1], "DANCING", Anims[math.random(1, 5)]) if Ped[1] then destroyElement(Ped[1]) Ped[1] = nil end local x, y, z, lx, ly, lz = foundPos(1), foundPos(2), foundPos(3), foundPos(4), foundPos(5), foundPos(6) wasFoundCamAndPed = foundTeam local pedx, pedy, pedz = foundPos(7), foundPos(8), foundPos(9) Ped[1] = createPed(ID, pedx, pedy, pedz, Rot[number]) if not isElement(Ped[1]) then Ped[1] = createPed(ID, pedx, pedy, pedz, Rot[number]) end setElementFrozen(Ped[1], true) setPedAnimation(Ped[1], "DANCING", Anims[math.random(1, 6)]) setCameraMatrix(x, y, z, lx, ly, lz) end function TextColor(numbe) if TeamName[numbe] == "Grove" then Color = {0, 255, 0} elseif TeamName[numbe] == "Aztecas" then Color = {0, 150, 255}
  17. ابي اذا لاعب ما عليه نجوم ما يقدر شرطي يمسكه
×
×
  • Create New...