Jump to content

The Killer

Members
  • Posts

    1,336
  • Joined

Everything posted by The Killer

  1. X addEventHandler ("onMarkerHit", resourceRoot, function (player) if getElementType (player) == "player" then setPedAnimation (player, "group", "anim") setTimer (function () setPedAnimation (player, false) end, 5000, 1) end end ) كذا تقدر تسوي اكثر من ماركر في نفس المود بدون ما تسوي لها ايفنتات كثيره بس تحط هذا اليفنت وتحط الماركرات الي تبيها وهو تلقائيا راح يخليها تشتغل مع الايفنت اما اذا كان عنندك ماركرات ثانيه في نفس المود ولها وظائف غير ف لازم تسوي جدول table
  2. جرب local hillArea = createColRectangle ( -1381.53, -533.78, 100, 100 ) addEventHandler("onClientColShapeHit", hillArea, function (hitPlayer) if hitPlayer == localPlayer then local sound = playSound("sound.mp3") setSoundVolume(sound, 0.9) end end )
  3. createRadarArea ( -590, -207, 175, 180, 0, 255, 252, 150 ) abu = createColRectangle ( -590, -207, 175, 180) local timer = { } addEventHandler ("onColShapeHit", abu, function (player) if isTimer (timer[player]) then killTimer (timer[player]) timer [player] = nil end if getElementType (player) == "player" then giveWeapon (player, 31, 5000, true) timer [player] = setTimer (function () giveWeapon (player, 31, 0, true) end, 50, 0) end end ) addEventHandler ("onColShapeLeave", abu, function (player) if isTimer (timer [player]) then killTimer (timer [player]) timer [player] = nil end takeWeapon (player, 31) end )
  4. , ادري يا عاشق انا حبيت اسويها كذا اذا هو يبي يسويها بطريقتك خلها يسويها انا سويتها كذا Edit # حياك الله
  5. createRadarArea ( -590, -207, 175, 180, 0, 255, 252, 150 ) abu = createColRectangle ( -590, -207, 175, 180) local timer = { } addEventHandler ("onColShapeHit", abu, function (player) if isTimer (timer[player]) then killTimer (timer[player]) timer [player] = nil end if getElementType (player) == "player" then giveWeapon (player, 31, 5000, true) timer [player] = setTimer (function () giveWeapon (player, 31, 0, true) end, 50, 0) end end ) addEventHandler ("onColShapeLeave", abu, function (player) if isTimer (timer [player]) then killTimer (timer [player]) timer [player] = nil end end )
  6. local timer = { } addEventHandler ("onColShapeHit", colName, function (player) if isTimer (timer[player]) then killTimer (timer[player]) timer [player] = nil end if getElementType (player) == "player" then giveWeapon (player, 31, 5000, true) timer [player] = setTimer (function () giveWeapon (player, 31, 0, true) end, 50, 0) end end )
  7. المشكله من مود القروبات نفسه حق احمد فيف , انصحك تستخدم حق العقرب لأن حق احمد فيف القروبات ما يقدرون يقتلون بعض حق العقرب يقدرون اذا تبي تمنعهم لازم تسوي كود خاص فلازم حق العقرب
  8. افتح الملف وبعدين تلقى فوق ع اليمين ملف اضغط عليه وبعدين اضغط حفظ بأسم وبيجيك اكتب اسم الملف تكتب Client.lua وبعدين تنزل تحت بتلقى مستطيل طويل مكتوب فيه الترميز اضغط عليه وبعدين اختار UTF-8
  9. خل الملف بتشفير UTF-8
  10. Client side: Marker = createMarker(1578.64, 634, 2132.78,'cylinder', 300, 0, 0, 0, 0) function ahmed1010() if getElementData( localPlayer, 'gang' ) == "[MsN]" then removeEventHandler ("onClientPlayerDamage", root, msn) outputChatBox("يمكنك قتل اعضاء عصابتك هنا", 255, 0, 0) end end addEventHandler("onClientMarkerHit", Marker,ahmed1010) addEventHandler ("onClientMarkerLeave", Marker, function () if getElementData (localPlayer, "gang") == "[MsN]" then addEventHandler ("onClientPlayerDamage", root, msn) end end) function msn () if getElementData (localPlayer, "gang") == "[MsN]" then cancelEvent () end end
  11. استدبل حقك بذا dxDrawRectangle(0, 0, 1024, 768, tocolor(87, 32, 188, 255), false, false, true, false, false)
  12. جرب ذا انا قلت لك img1 = guiCreateStaticImage(10, 111, 375, 525, "images/drift.png", false) img2 = guiCreateStaticImage(399, 158, 310, 460, "images/Gang.png", false) img3 = guiCreateStaticImage(750, 156, 258, 472, "images/zombie.png", false) showCursor (true) addEventHandler("onClientRender", root, function() dxDrawRectangle(0, 0, 1024, 768, tocolor(87, 32, 188, 255), false, false, true, false, false) dxDrawText("F.Q Servers", 304, 0, 719, 94, tocolor(220, 0, 0, 255), 3.00, "pricedown", "left", "top", false, false, true, false, false) end ) addEventHandler ("onClientGUIClick", root, function () if source == img1 then triggerServerEvent ( "RedirectPlayer_1", localPlayer ); elseif source == img2 then triggerServerEvent ( "RedirectPlayer_2", localPlayer ); elseif source == img3 then triggerServerEvent ( "RedirectPlayer_3", localPlayer ); end end) addEvent ( "RedirectPlayer_1", true ); addEventHandler ( "RedirectPlayer_1", root, function ( ) redirectPlayer ( client, "5.231.54.172", 44444 ); end ); addEvent ( "RedirectPlayer_2", true ); addEventHandler ( "RedirectPlayer_2", root, function ( ) redirectPlayer ( client, "5.231.54.172", 55555 ); end ); addEvent ( "RedirectPlayer_3", true ); addEventHandler ( "RedirectPlayer_3", root, function ( ) redirectPlayer ( client, "5.231.54.172", 44443 ); end );
  13. جرب هذا ععدلته شوي بدال ال dx حطيت لك guiCreateStaticImage img1 = guiCreateStaticImage(399, 158, 310, 460, "drift1.png", false) addEventHandler ("onClientGUIClick", root, function () if source == img1 then triggerServerEvent ( "RedirectPlayer_1", localPlayer ); end end) -- Server -- addEvent ( "RedirectPlayer_", true ); addEventHandler ( "RedirectPlayer_", root, function ( ) redirectPlayer ( client, "5.231.54.172", 44444 ); end );
  14. هممم روماند ما اتوقع ان ردك له فائده , لانه رد قبلك + اسم الايديت مو اللوحه
  15. مع عدم الاهانه لكن اقولك ان الوظيفه مالها فائده لو تلاحظ مكتوب useful هذا في اسم الموضوع = مفيد اما كودك اعذرني اقولك انه مو مفيد يعني بدون ما تسوي الي سويته انت تقدر تسويه ببساطه اعطيك مثال صغير addCommandHandler ("test", function (player, cmd, id, x,y,z) if isElement (vehicle) then destroyElement (vehicle) end vehicle = createVehicle (id, x,y,z) warpPedIntoVehicle (player, vehicle) end ) مايحتاج تسوي لها وظيفه خاصه عشان تحطها في امر في اخر شي
  16. طبعا يا اخ ksa كل المنتديات مو كلها اكثرها فيها نفس قوانينك يعني معروف , اي موضوع فيه هواش , كلام ما له داعي معروف انه بيتقفل او ينحذف كل منتدى يبي سمعته تكون زينه مو سيئه .
  17. addCommandHandler ("test", function (player) if getElementData (player, "gang") == "group name" then setPedFightingStyle (player, 6) end end )
  18. المنتدى كله دروس , لو انك تبي تتعلم كان لقيتها
  19. تقدر تستخدم حدث 'onTrailerDetach'
×
×
  • Create New...