Exemplo n.º 1
0
    public static void if_false(Arg args)
    {
        string @string = args.GetString(0);
        bool   @bool   = args.GetBool(1, true);

        if (!@bool)
        {
            ConsoleSystem.Run(Option.Client, @string, @bool);
        }
    }
Exemplo n.º 2
0
 public static void setshowholstereditems(Arg arg)
 {
     showHolsteredItems = arg.GetBool(0, showHolsteredItems);
     foreach (BasePlayer activePlayer in BasePlayer.activePlayerList)
     {
         activePlayer.inventory.UpdatedVisibleHolsteredItems();
     }
     foreach (BasePlayer sleepingPlayer in BasePlayer.sleepingPlayerList)
     {
         sleepingPlayer.inventory.UpdatedVisibleHolsteredItems();
     }
 }