- Joined
- Apr 5, 2012
- Messages
- 46
- Reaction score
- 5
I know its so simple.
ZGameClient.cpp:
find "void ZGameClient::OnGameLevelUp"
replace
with
LevelUp sound:
Preview
ZGameClient.cpp:
find "void ZGameClient::OnGameLevelUp"
replace
PHP:
if (ZGetGame())
{
ZCharacter* pCharacter = ZGetGame()->m_CharacterManager.Find(uidChar);
if (pCharacter) {
pCharacter->LevelUp();
char temp[256] = "";
ZTransMsg(temp, MSG_GAME_LEVEL_UP, 1, pCharacter->GetUserAndClanName());
ZChatOutput(MCOLOR(ZCOLOR_GAME_INFO), temp);
}
}
with
PHP:
if (ZGetGame())
{
ZCharacter* pCharacter = ZGetGame()->m_CharacterManager.Find(uidChar);
if (pCharacter) {
pCharacter->LevelUp();
char temp[256] = "";
ZTransMsg(temp, MSG_GAME_LEVEL_UP, 1, pCharacter->GetUserAndClanName());
ZChatOutput(MCOLOR(ZCOLOR_GAME_INFO), temp);
ZGetSoundEngine()->PlaySound( "nar/level_up", pCharacter->GetPosition()); //Levelup sound
}
}
LevelUp sound:
You must be registered to see links
Preview