iPrestege Posted September 28, 2012 Share Posted September 28, 2012 بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة اخباركم اليوم ان شاء الله بخير ~ اليوم بكل الطرق اللي اعرفها حاولت ~ آشغل تاج بدون مايكرر بالديث ماتش TDMA لكن يرفضض يكرر مدري ليش ~ ممكن الحل الله يوفقكم ~~~~~~~~~~~~~~~~~~ Link to comment
TAPL Posted September 28, 2012 Share Posted September 28, 2012 أفتح الملف الي بالمسار ذا tdma\Main\tdma_core.lua و أحذف من سطر 336 إلى سطر 351 تحديداً هذا الكود function onChat ( message, theType ) if theType == 0 then cancelEvent() message = string.gsub(message, "#%x%x%x%x%x%x", "") local team = getPlayerTeam ( source ) local bastidName = getPlayerName ( source ) if ( team ) then local r, g, b = getTeamColor ( team ) outputChatBox ( bastidName..":#FFFFFF "..message, getRootElement(), r, g, b, true ) else outputChatBox ( bastidName..": "..message ) end outputServerLog( "CHAT: " .. bastidName .. ": " .. message ) end end addEventHandler ( "onPlayerChat", root, onChat ) Link to comment
iPrestege Posted September 28, 2012 Author Share Posted September 28, 2012 ^^ تابل عندي غير عندكك function updateKills( idPlayer, idTeam ) if ( tonumber(gameMaxKills) > 0 ) then if xDebug then outputDebugString ( "Kills for team before are: " .. idTeam.kills ) end local teamID = getElementData( idPlayer, "tdma.teamid" ) gameTeams[teamID].kills = gameTeams[teamID].kills + 1 if xDebug then outputDebugString ( "Kills for team " .. idTeam.name .. " updated to " .. gameTeams[teamID].kills ) end textItemSetText ( idTeam.teamText, idTeam.name .. ": " .. gameTeams[teamID].kills .. "/" .. gameMaxKills .. " kills" ) hasTeamWon ( teamID ) end end function tmrRestartRound ( timerID, player ) ----outputDebugString ( "Mission timer has been triggerd, their " .. timerID .. " and " .. rndTimer .. " [timerid/rndtimer]" ) if ( tostring(timerID) == tostring(rndTimer) ) then destroyMissionTimer ( timerID ) --[[for k,v in ipairs(getElementsByType("player")) do يمقن ممسوح ؟ بس يكرر ارفع لكـ الملف تسوية ؟ Link to comment
iPrestege Posted September 28, 2012 Author Share Posted September 28, 2012 هذا الملف : http://www.mediafire.com/?6kfmo3sl994oc5d Link to comment
TAPL Posted September 28, 2012 Share Posted September 28, 2012 ممسوح جرب طف الديث ماتش و شوف يكرر أو لا؟ أحتمال من التاج نفسه Link to comment
iPrestege Posted September 28, 2012 Author Share Posted September 28, 2012 آمممم آصبر آشوف Link to comment
iPrestege Posted September 28, 2012 Author Share Posted September 28, 2012 لبى قلبكك ياتآبل يسلموو تم يالغالي >3 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now