case ZACTION_HPAP_SHOWER: { ZCharacter* pCharacter = ZGetGame()->m_pMyCharacter; char szName[128]; if(ZGetGame()->GetMatch()->IsTeamPlay()) { sprintf(szName, "!^1HP^9: %d/%d - ^2AP^9: %d/%d.", (int)ZGetGame()->m_pMyCharacter->GetHP(), (int)ZGetGame()->m_pMyCharacter->GetMaxHP(), (int)ZGetGame()->m_pMyCharacter->GetAP(), (int)ZGetGame()->m_pMyCharacter->GetMaxAP()); ZApplication::GetGameInterface()->GetChat()->Input(szName); return true; } else { sprintf(szName, "^1HP^9: %d/%d - ^2AP^9: %d/%d.", (int)ZGetGame()->m_pMyCharacter->GetHP(), (int)ZGetGame()->m_pMyCharacter->GetMaxHP(), (int)ZGetGame()->m_pMyCharacter->GetAP(), (int)ZGetGame()->m_pMyCharacter->GetMaxAP()); ZApplication::GetGameInterface()->GetChat()->Input(szName); return true; } }