I want to know something.

Results 1 to 3 of 3
  1. #1
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    I want to know something.

    what is the code to be able to respawn, but version command to admin.

    and how to fix this, it appears at the end to finish a battle.

    jorklenis2_20130611_172828.jpg


  2. #2
    The Sky's the Limit ^_^ GzFKoron is offline
    MemberRank
    Jul 2010 Join Date
    1,118Posts

    Re: I want to know something.

    Quote Originally Posted by jorklenis2 View Post
    what is the code to be able to respawn, but version command to admin.

    and how to fix this, it appears at the end to finish a battle.

    jorklenis2_20130611_172828.jpg
    It looks as though you are on hide mode? :s

  3. #3
    Account Upgraded | Title Enabled! Patrick2607 is offline
    MemberRank
    May 2013 Join Date
    The NetherlandsLocation
    345Posts

    Re: I want to know something.

    To fix the finish screen do this:

    Gunz -> ZCombatInterface.cpp

    Search for :
    Code:
    void ZCombatInterface::OnFinish()
    Replace the whole class with:
    Code:
    void ZCombatInterface::OnFinish()
    {
    	if(m_pResultPanel) return;
    
    
    	m_pResultLeft = NULL;
    	m_pResultRight = NULL;
    
    
    	ZGetScreenEffectManager()->AddRoundFinish();
    	
    //	m_pResultPanel=ZGetScreenEffectManager()->CreateScreenEffect("ef_in_result.elu");
    
    
    	if(ZGetGame()->GetMatch()->IsTeamPlay() && !ZGetGameClient()->IsLadderGame())
    	{
    		int nRed = ZGetGame()->GetMatch()->GetTeamScore(MMT_RED), nBlue = ZGetGame()->GetMatch()->GetTeamScore(MMT_BLUE);
    		if(nRed==nBlue)
    			m_pResultPanel_Team = ZGetScreenEffectManager()->CreateScreenEffect("teamdraw");
    		else
    			if(nRed>nBlue)
    				m_pResultPanel_Team = ZGetScreenEffectManager()->CreateScreenEffect("teamredwin");
    			else
    				m_pResultPanel_Team = ZGetScreenEffectManager()->CreateScreenEffect("teambluewin");
    	}
    
    
    	m_ResultItems.Destroy();
    
    
    	ZCharacterManager::iterator itor;
    	for (itor = ZGetCharacterManager()->begin();
    		itor != ZGetCharacterManager()->end(); ++itor)
    	{
    		ZCharacter* pCharacter = (*itor).second;
    		ZResultBoardItem *pItem=new ZResultBoardItem;
    
    
    		if(pCharacter->IsAdminHide()) continue;
    
    
    		if(pCharacter->IsAdminName() || pCharacter->IsDeveloperName()) {
    			sprintf(pItem->szName,"--%s%s", ZMsg(MSG_CHARINFO_LEVELMARKER), pCharacter->GetUserName());
    		}
    		else {
    			sprintf(pItem->szName,"%d%s%s",pCharacter->GetProperty()->nLevel, ZMsg(MSG_CHARINFO_LEVELMARKER), pCharacter->GetUserName());
    		}
    
    
    		strcpy(pItem->szClan,pCharacter->GetProperty()->GetClanName());
    		pItem->nClanID = pCharacter->GetClanID();
    		pItem->nTeam = ZGetGame()->GetMatch()->IsTeamPlay() ? pCharacter->GetTeamID() : MMT_END;
    		pItem->nScore = pCharacter->GetStatus().Ref().nExp;
    		pItem->nKills = pCharacter->GetStatus().Ref().nKills;
    		pItem->nDeaths = pCharacter->GetStatus().Ref().nDeaths;
    
    
    		pItem->nAllKill= pCharacter->GetStatus().Ref().nAllKill;
    		pItem->nExcellent = pCharacter->GetStatus().Ref().nExcellent;
    		pItem->nFantastic = pCharacter->GetStatus().Ref().nFantastic;
    		pItem->nHeadShot = pCharacter->GetStatus().Ref().nHeadShot;
    		pItem->nUnbelievable = pCharacter->GetStatus().Ref().nUnbelievable;
    
    
    		pItem->bMyChar = pCharacter->IsHero();
    	
    		MMatchObjCache* pCache = ZGetGameClient()->FindObjCache( pCharacter->GetUID());
    		if ( pCache)
    			pItem->bGameRoomUser = (pCache->GetPGrade() == MMPG_PREMIUM_IP) ? true : false;
    		else
    			pItem->bGameRoomUser = false;
    
    
    		m_ResultItems.push_back(pItem);
    	}
    
    
    	m_Observer.Show(false);
    
    
    	m_nReservedOutTime = timeGetTime() + 5000;		// 5ÃÊ ÈÄ¿¡ ÀÚµ¿ Á¾·á.
    	m_bOnFinish = true;
    }



Advertisement