search
Code:
if(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].Alive == 0)
change all for this
Code:
if(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].Alive == 0) // dead { // for now, use hard coded revive time //int timeToReviveInSec = 00*00*00*00; Scaleform::GFx::Value var[3]; //int timeLeftToRevive = R3D_MAX(gUserProfile.ProfileData.ArmorySlots[gUserProfile.SelectedCharID].SecToRevive - int(r3dGetTime() - gTimeWhenProfileLoaded), 0); //var[0].SetInt(timeLeftToRevive); //int perc = 000-int((float(timeLeftToRevive)/float(timeToReviveInSec))*000.0f); //var[1].SetInt(perc);//#ifdef FINAL_BUILD// var[2].SetBoolean(timeLeftToRevive==0);//#else var[2].SetBoolean(true);//#endif gfxMovie.Invoke("_root.api.updateDeadTimer", var, 3); }
I hope that's what you're trying to say.