[Tutorial]Adding to 7th tab only for DEV

Results 1 to 2 of 2
  1. #1
    Enthusiast italofialho is offline
    MemberRank
    Apr 2014 Join Date
    40Posts

    happy [Tutorial]Adding to 7th tab only for DEV

    Adding to 7th tab on market menu and when you press f10 only for DEVS
    I am using the Doom source MMO V3

    in WarZ.sln
    Search for:
    var[0].SetNumber(0);
    var[1].SetString("weapon");
    var[2].SetBoolean(true);
    var[3].SetBoolean(true);
    gfxMovie.Invoke("_root.api.addTabType", var, 4);
    }
    Repleace with:
    if(gUserProfile.ProfileData.isDevAccount){
    var[0].SetNumber(0);
    var[1].SetString("weapon");
    var[2].SetBoolean(true);
    var[3].SetBoolean(true);
    gfxMovie.Invoke("_root.api.addTabType", var, 4);
    }
    else
    {


    var[0].SetNumber(0);
    var[1].SetString("weapon");
    var[2].SetBoolean(false);
    var[3].SetBoolean(true);
    gfxMovie.Invoke("_root.api.addTabType", var, 4);


    }
    Search for:
    gfxMovie.SetVariable("_root.api.isTrialAccount", gUserProfile.IsTrialAccount());
    Add below:
    if(gUserProfile.ProfileData.isDevAccount){
    gfxMovie.SetVariable("_root.api.Main.Marketplace.Marketplace.Tab7.visible", true);
    }
    Credits me and @ADM-U307
    Last edited by italofialho; 09-01-15 at 07:59 PM.


  2. #2
    Banned MUIT0L0K0 is offline
    BannedRank
    Jan 2014 Join Date
    Colorado V2Location
    110Posts

    Re: [Tutorial]Adding to 7th tab only for DEV

    Nice Man Thx xD



Advertisement