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:
Repleace with:var[0].SetNumber(0);
var[1].SetString("weapon");
var[2].SetBoolean(true);
var[3].SetBoolean(true);
gfxMovie.Invoke("_root.api.addTabType", var, 4);
}
Search for: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);
}
Add below:gfxMovie.SetVariable("_root.api.isTrialAccount", gUserProfile.IsTrialAccount());
Credits me and @ADM-U307if(gUserProfile.ProfileData.isDevAccount){
gfxMovie.SetVariable("_root.api.Main.Marketplace.Marketplace.Tab7.visible", true);
}



Reply With Quote![[Tutorial]Adding to 7th tab only for DEV](http://ragezone.com/hyper728.png)

