
Originally Posted by
Tannous
Rejain you may look to Thunderz code and go to the Tutorials forum, and watch qet123 tut for the enable/disable commands then try to combine both of them togather... ;)
I have tried that but it is not that simple i dont kjnow how to put so it will be after every round and only in team and all that idk what to do ...
btw this is what i have done so far .....
Code:
void ChatCmd_Damaged(const char* line, const int argc, char **const argv)
{
GunzState state = ZApplication::GetGameInterface()->GetState();
ZCharacter* pCharacter = ZGetGame()->m_pMyCharacter;
ZMyCharacter* m_pMyCharacter = ZGetGame()->m_pMyCharacter;
ZCharacterStatus dInfo = m_pMyCharacter->GetStatus().Ref();
char szMsg[256];
char szPrint[256];
if(state == GUNZ_GAME)
{
if(pCharacter->GetStatus().Ref().nDamageCount == 0)//(pCharacter->GetStatus().Ref().nTakenDamage == 0);
{
pCharacter->GetStatus().CheckCrc();
pCharacter->GetStatus().Ref().nDamageCount = 1;
pCharacter->GetStatus().Ref().nTakenDamage = 1;
pCharacter->GetStatus().MakeCrc();
sprintf(szPrint, "Damage Dealt: %i / Damage Received: %i", dInfo.nDamageCount, dInfo.nTakenDamage);
ZApplication::GetGameInterface()->GetChat()->Input(szPrint);
sprintf(szMsg, "^2Damage output enabled.");
}
else if(pCharacter->GetStatus().Ref().nDamageCount == 1)//(pCharacter->GetStatus().Ref().nTakenDamage == 1);
{
pCharacter->GetStatus().CheckCrc();
pCharacter->GetStatus().Ref().nDamageCount = 0;
pCharacter->GetStatus().Ref().nTakenDamage = 0;
pCharacter->GetStatus().MakeCrc();
sprintf(szMsg, "^2Damage output disabled.");
}
}
else
{
sprintf(szMsg, "^2You must be in-game!");
}
ZChatOutput(szMsg);
}
This only shows Damage Output Enabled ! and then the damage i did so far in the room and i want it to do the exact same thing just after a round any help ? 

Originally Posted by
qet123
Learn by yourself.... We can't help you in every little thing you want.
True. but these are things that i have tried and failed and i really need this so u gotta understand me ..