Jump to content

ayman1998

Members
  • Posts

    159
  • Joined

  • Last visited

Everything posted by ayman1998

  1. اوك شكرا حبي على مساعدة
  2. اني وزعت ودخل صديقي من اوزع مرة ثانية ميصول الي استلم لة وما ابية الى للابد
  3. انا بدي اذ وزعت وطلع ودخل ميقدر ياخذ وكف بكتب مبلغ في اف 8 ويرسل الى الكل
  4. addCommandHandler ( "givemony", function(player) if isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "Console" ) ) then local players = getElementsByType ( "player" ) for i,p in ipairs(players) do givePlayerMoney ( p, 5000 ) setElementData ( p, "Datamoney") end end ) addEventHandler ( "onPlayerQuit", getRootElement(), function ( ) removeElementData(source,"Datamoney") end )
  5. كتبتها في اف 8 مشتغل
  6. حبي اسف تعبتك بس سويتة وكمل وشتغل وضفتة قروب ادمن بس كيف برسل فلوس
  7. كيف باخذ الاكواد لاهنت علمني اني مو قوي بس اعرف اسوي
  8. السلام عليكم ابي كود ارسل لفلوس الى الكل بس اذ رسلت الى الكل ودخلو ناس جديد يعني برسل مرة ثانية الي رسل لة من قبل ما يوصل بس الي دخل جديد
  9. حبي مالها دخل العبة اقلك فرمت لابتوب وثاني شي هاي من موقع https://community.multitheftauto.com
  10. السلام عليكم وربي طفشت من هاي مشكلة شوفو صور لاهنت مشكلة اي مود ابي احملة يحمل لي مود تاج سستم مو بس هذا مود بجرب غير مود نفس شي فرمت جهاز نفس شي مسحت متصفح جربت غير متصفح مسحت داون لود منجر مصار نفس شي لاهنت حلوها لي
  11. سويت هيك ممكن تصليح root = getRootElement () players = {} resourceRoot = getResourceRootElement ( getThisResource () ) function onResourceStart ( resource ) for id, player in ipairs( getElementsByType ( "player" ) ) do if ( players[player] ) then local blip = createBlipAttachedTo ( player, 0, 2, players[source][1], players[source][2], players[source][3] ) else local color = {getPlayerNametagColor (player)} local blip = createBlipAttachedTo ( player, 0, 2, color[1], color[2], color[3] ) end end end addEventHandler ( "onResourceStart", resourceRoot, onResourceStart ) function onPlayerSpawn ( spawnpoint ) if ( players[source] ) then local blip = createBlipAttachedTo ( source, 0, 2, players[source][1], players[source][2], players[source][3] ) else local color = {getPlayerNametagColor (source)} local blip = createBlipAttachedTo ( source, 0, 2, color[1], color[2], color[3] ) end end addEventHandler ( "onPlayerSpawn", root, onPlayerSpawn ) function onPlayerQuit () destroyBlipsAttachedTo ( source ) end addEventHandler ( "onPlayerQuit", root, onPlayerQuit ) function onPlayerWasted ( totalammo, killer, killerweapon ) destroyBlipsAttachedTo ( source ) end addEventHandler ( "onPlayerWasted", root, onPlayerWasted ) function destroyBlipsAttachedTo(player) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end setTimer ( function(resource) for id, player in ipairs( getElementsByType ( "player" ) ) do if ( players[player] ) then createBlipAttachedTo ( player, 0, 2, players[source][1], players[source][2], players[source][3] ) else local color = {getPlayerNametagColor (player)} local blip = createBlipAttachedTo ( player, 0, 2, color[1], color[2], color[3] ) setBlipColor ( blip, color[1], color[2], color[3] ) end end end, 1000, 0 )
  12. خلص مشكورين سويتها
  13. انا بدي يجي حسب اسمة كل قانية لانو عندي مود بغير لون الاسم كتير بدي يجي لون العلاة على حسب اسمة و لو مات تتمها ما تروح الى اذا طلع
  14. ذا بيست كودك اشتغل بس ضفت علية هاد بشتغل اولها تقريبا اول دقيقة بعدين ببطل يغير الون ما بعرف ليش انا بدي كل ثانية يجب الون و لو تغير يغرة و لو ما تغير يتم زي ما هو هو شغال يعني بس يتغير عل ىاف 11 امل الخريطة الصغيرة لا + كودك بعد ما اموت ما تجي العلامة لما ضفت له هاد setTimer ( function(resource) for id, player in ipairs( getElementsByType ( "player" ) ) do if ( players[player] ) then createBlipAttachedTo ( player, 0, 2, players[source][1], players[source][2], players[source][3] ) else local color = {getPlayerNametagColor (player)} createBlipAttachedTo ( player, 0, 2, color[1], color[2], color[3] ) end end end, 1000, 0 )
  15. مستخدمها root = getRootElement () local color = getPlayerNametagColor (root)
  16. سلام عليكم ممكن تصلحوة انة يلي حسب لون الاسم هاد بجي لونة احمر -- needs configurable blip colors, and team support root = getRootElement () local color = getPlayerNametagColor (root) players = {} resourceRoot = getResourceRootElement ( getThisResource () ) function onResourceStart ( resource ) for id, player in ipairs( getElementsByType ( "player" ) ) do if ( players[player] ) then createBlipAttachedTo ( player, 0, 2, players[source][1], players[source][2], players[source][3] ) else createBlipAttachedTo ( player, 0, 2, color, color, color ) end end end function onPlayerSpawn ( spawnpoint ) if ( players[source] ) then createBlipAttachedTo ( source, 0, 2, players[source][1], players[source][2], players[source][3] ) else createBlipAttachedTo ( source, 0, 2, color, color, color ) end end function onPlayerQuit () destroyBlipsAttachedTo ( source ) end function onPlayerWasted ( totalammo, killer, killerweapon ) destroyBlipsAttachedTo ( source ) end function setBlipsColor ( source, commandName, r, g, b ) if ( tonumber ( b ) ) then color = { tonumber ( r ), tonumber ( g ), tonumber ( b ) } for id, player in ipairs( getElementsByType ( "player" ) ) do destroyBlipsAttachedTo ( player ) if ( players[player] ) then createBlipAttachedTo ( player, 0, 2, players[source][1], players[source][2], players[source][3] ) else createBlipAttachedTo ( player, 0, 2, color, color, color ) end end end end addCommandHandler ( "setblipscolor", setBlipsColor ) addEventHandler ( "onResourceStart", resourceRoot, onResourceStart ) addEventHandler ( "onPlayerSpawn", root, onPlayerSpawn ) addEventHandler ( "onPlayerQuit", root, onPlayerQuit ) addEventHandler ( "onPlayerWasted", root, onPlayerWasted ) function destroyBlipsAttachedTo(player) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end
  17. كيف امنع القنابل في البيوت الانترو
  18. سلام عليكم ابي اسالكم كيف اغير شكل انترو يعني ملف txd بس كيف اخلية يا جوا البيت الشكل الداخلي اغير انا بعرف كيف السيارات و الاوبجكت بس ما بعرف الانترو الشكل الداخلي
  19. انا مسوي لما اكتب ميدك في اف 8 يطلع ماركر و اي شخص يدخلة بس ما يكون نفسة ميدك اذا كان معة فلوس 75 يزود دمة كل 3 ثواني 10 او 20 و ياخق منة فلوس 75
  20. لا انا جربتة على تاع ذا بيست و شغال %100 و يزيد الدم بس عدلت علية ما زبط و يلي الك ما نفع
  21. مشكور نفع بس عدلت علية ما نفع local Timer = {} addEventHandler( 'onMarkerHit', resourceRoot, function( hitElement ) if ( getElementType( hitElement ) == 'player' ) and not ( isPedInVehicle( hitElement ) ) and ( getElementHealth( hitElement ) < 100 ) then local TE = getPlayerTeam ( hitElement ) if TE and not getTeamName ( TE ) == "Medic" then if getPlayerMoney(hitElement) >= 75 then if not isTimer(Timer[hitElement]) then Timer[hitElement] = setTimer (function() local newHealth = getElementHealth( hitElement ) + 10 setElementHealth(hitElement , newHealth) if ( newHealth == 100 ) then killTimer(Timer[hitElement]) outputChatBox("انت الان سليم", hitElement, 0, 255, 0, true) end end,3000,0,hitElement) end else outputChatBox("انت لا تملك المال", hitElement, 0, 255, 0, true) end end end end)
  22. لما تكتب في اف 8 كلمة يفتح ماركر و يلي يدخلة يزد دكة كل 3 ثواني 10 او 20 عادي انا كلشي مسوي بس لما ادخل الماركر يزود و يعاود ينقص و يعاود يزود و يعاود ينقص
×
×
  • Create New...