Quote:
case VK_F9:
char szName[128];
{
if(ZGetGame()->GetMatch()->IsTeamPlay())
{
sprintf(szName, "!(HP: %d / %d AP: %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, "(HP: %d / %d AP: %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;
}
}
This Is F9 .