Skip to content

Commit

Permalink
PA: disable unsafe mp character options for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Jun 3, 2018
1 parent 27c9255 commit 3378f00
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions vMenu/menus/PlayerAppearance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,18 @@ private void CreateMenu()
menu.AddItem(walkingStyle);

// Bind items to the submenus.
if (cf.IsAllowed(Permission.PACustomize) && MainMenu.EnableExperimentalFeatures) // only enable it if experimental features are turned on
{
CreateMpPedMenu(mpCharMenu); // loads all menu items and adds event listeners.
menu.BindMenuToItem(mpCharMenu, mpCharMenuBtn);
}
else
//if (cf.IsAllowed(Permission.PACustomize) && MainMenu.EnableExperimentalFeatures) // only enable it if experimental features are turned on
//{
// CreateMpPedMenu(mpCharMenu); // loads all menu items and adds event listeners.
// menu.BindMenuToItem(mpCharMenu, mpCharMenuBtn);
//}
//else
{
mpCharMenuBtn.Enabled = false;
mpCharMenuBtn.SetLeftBadge(UIMenuItem.BadgeStyle.Lock);
mpCharMenuBtn.Description = "~r~The options in this submenu are restricted because they are still experimental features. The server owner can enable this if they want to, but you have been warned because it may cause dataloss for users and could be buggy.";
//mpCharMenuBtn.Description = "~r~The options in this submenu are restricted because they are still experimental features. The server owner can enable this if they want to, but you have been warned because it may cause dataloss for users and could be buggy.";

mpCharMenuBtn.Description = "This will be added in the near future. It does not work, so don't even try to enable it, it WILL currently delete all your saved peds/vehicles if you do so.";
}

if (cf.IsAllowed(Permission.PACustomize))
Expand Down

0 comments on commit 3378f00

Please sign in to comment.