-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
هذا الحدث راح يصير مره وحده بكل فريم حنا بالعاده نلعب ب 60 فريم يعني الحدث هذا راح يصير 60 مره بالثانية او على حسب عدد الفريمات عندك لازم تشغله مع كل فريم علشان تشوف الكلام في الشاشة dxDrawText هذا الحدث تحتاجه لان الفنكشن
-
setTimer(function() removeEventHandler("onClientRender", root, drawText) end, 10000, 1)
-
radararea2 = createRadarArea(110.91990, 1800.89435, 200, 145, 255, 255, 255, 225) function Area_51_Base_Spawn() local playerTeam = getPlayerTeam(source) if (playerTeam) then local r, g, b = getTeamColor(playerTeam) local aR, aG, aB = getRadarAreaColor(radararea2) if (r == aR) and (g == aG) and (b == aB) then setElementPosition(source, 298.98865, 1815.90613, 3.71094) end end end addEventHandler("onPlayerSpawn", getRootElement(), Area_51_Base_Spawn)
-
يب أعرف انا مش حاط فوقيها صورة ستيم +
-
أنا ما قلت كل الألعاب انا قلت باتفيلد 3
-
He ask you about the gang script you are using, not the gang name.
-
ON1XS is actually using php, proof: callRemote http:// IP % /AntiFake/mta/mta_PlayerList.php/:80 callRemote http:// IP * /AntiFake/mta/server_SerialSearch.php/:80 callRemote http:// IP ( /AntiFake/mta/server_NickSearch.php/:80
-
اقول لك باتفيلد 3 مالها علاقة بستيم تقول لي ستيم؟ لووووول
-
https://wiki.multitheftauto.com/wiki/Game_Processing_Order
-
اعتقد ذا الي تبيه http://zazmahall.de/ZAZGTASANATORIUM/zazmoddat00100/PedEnter.htm
-
https://wiki.multitheftauto.com/wiki/OnPlayerPickupHit The source of this event is the player that hit the pickup.
-
--pasMarkersT [Table removed to keep things easy] function Markers() for a,b in pairs(pasMarkersT) do PAS = createMarker(b["x"], b["y"], b["z"]-1,"cylinder",5) createBlip(b["x"], b["y"], b["z"]-1,63) addEventHandler("onMarkerHit",PAS,Logic) end end setTimer(Markers,50,1) function Logic(hitElement) if getElementType(hitElement) == "vehicle" then local player = getVehicleController(hitElement) if player and getPlayerMoney(player) >= 100 then if getElementHealth(hitElement) < 1000 then takePlayerMoney(player, 100) fixVehicle(hitElement) outputChatBox("Thank you for using pay and spray have a nice day.", player, 0, 255, 0) else outputChatBox("Get Lost!", player, 255, 0, 0) end end end end
-
ايش هي مواصفات جهازك كامل
-
Good to hear that. But how about ask help for yourself? Some of your posts show to me that you need help.
-
ممكن اعرف الاخطاء الا في كودي ؟ عشان اعدلهم local marker = createMarker(x,y,z, "cylinder", 2, 255, 0, 0, 255) function e7tlal ( player ) -- ما تحققت ان الي لمس الماركر لاعب -- يعني لو لمسه سيارة راح يجي اخطاء بالدي بق local playerteam = getPlayerTeam ( player ) local tT = getElementData ( marker, "gettT") if (tT == playerteam) then -- هنا انت تتحقق ان تيم اللاعب الي دخل الماركر هو نفسه الي محتل المنطقة outputChatBox("هذه المنطقة تتبع فريق"..tT, player, 0, 255, 0, false) -- بعدين تقول له ان ذي المنطقة تتبع التيم ذا المفروض تقول الكلام ذا إذا ما كان نفس التيم -- وليس اسم تيم tT عنصر تيم else if not getPlayerTeam(player) then return end -- تيم اللاعب معرف في سطر 4 ليه تكرر الكود local team = getPlayerTeam ( player ) -- هنا نفس الشي مكرر الكود if (getTeamName( team ) == "No Team") then -- على كذا ما راح يقدر اي تيم ثاني يحتل المنطقة غير النو تيم و هو الأحتلال حق تيمات!!!! local playerteam = getPlayerTeam ( player ) -- هنا نفس الشي مكرر الكود if ( playerteam ) then if ( isTimer ( btt ) ) then return end local tT = getElementData ( marker, "gettT" ) if tT then outputChatBox("لقد جئت لمنطقة الاحتلال التابعة لـ"..tT..". انتظر دقيقتين لربح 4 الاف", player, 0, 255, 0, false) -- عنصر تيم و ليس اسم تيم tT هنا else outputChatBox("هذه المنطقة ليست ملك لأحد ,, يجب ان تنتظر دقيقتين والسيطرة على المنطقة لربح 4 الاف ", player, 0, 255, 0, false) end btt = setTimer ( function ( ) local beachTurfCplayers = getElementColShape ( marker ) local players = getElementsWithinColShape ( marker, "player" ) for _, player in ipairs ( players ) do outputChatBox("تهانينا ,, لقد ربحت 4 الاف", player, 0, 255, 0, false) -- افترض كان فيه لاعب ثاني من تيم ثاني واقف داخل الماركر؟ givePlayerMoney ( player, 4000 ) -- نفس الكلام setElementData ( marker, "gettT", playerteam ) -- ذا الكود راح يتكرر لانه داخل لووب -- playerteam مو معرف داخل فنكشن التايمر end end ,60000, 1 ) end end end end addEventHandler ( "onMarkerHit", marker, e7tlal ) شوف التعليقات داخل الكود صراحه ضحكتني بالنو تيم حاط الي يحتل بس نو تيم طيب هو احتلال تيمات كيف بيحتلون التيمات
