[REQUEST] How to replace the revive bottom for an instant revive function

Results 1 to 2 of 2
  1. #1
    Proficient Member GMkidink is offline
    MemberRank
    Apr 2012 Join Date
    152Posts

    [REQUEST] How to replace the revive bottom for an instant revive function

    i mean how to make an revive automatically without click any bottom to revive your player, somebody know something about this any source have this feature?

    so when you dead in map and click on Exit to main menu your survivor appear as Alive instead click on Revive to resurrect your survivor


  2. #2
    Play Alpha MMO DouglasPro is offline
    MemberRank
    Nov 2014 Join Date
    //HKEY//RJ_BRLocation
    391Posts

    Re: [REQUEST] How to replace the revive bottom for an instant revive function

    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.



Advertisement