Put stackable = true; at the top
Ah missed the second half of my sentence, I guess will get merged.
It has to be before the Amount gets set.
Amount = amount;
Ok. I re-wrote this for a lil more complexity to show a better way to do it with channels and direct on specific buttons.
public class FlatScreenTvEastAddon : BaseAddon
{
private bool m_TurnedOn;
[CommandProperty(AccessLevel.GameMaster)]
public bool TurnedOn {...
So I gave an example earlier to do with one ItemID in the setting just to show a different way for a basic example while showing it. You could directly put all the ItemIDs into the code. But here I just moved where the turn-off message went and added a second turn-off with the other ItemID. This...
OK let's look at this from a different standpoint. Do you want items added or items already in the addon to be changed? I ask this because do you have the addon of what u wanted with the items on too? So then I can see the offsets to show you the best code for this that I would use.
Here I did...
You can do stuff in the OnComponentUsed, and then check the component being used. Then you would add the items to the addon on used and either set a flag or use the items added if detected or double-clicked, to turn it back off by having it remove the items from the addon.
Still doing it.
And after many reports, the account which is you by the way seifer. Is requesting chats with everyone in the channel, and then linking to your server. Stop your bullshit.
If you are only looking for one time you can also use a boolean if statement.
if (from.Backpack.FindItemByType(typeof(Hides)false) == true)
{
do things
}
If it is specific that uses say Hides as its base you might want to use
var hidelist = from.Backpack.FindItemsByType<Hides>(false)...
Tell your players to stop coming into every other server discord to advertise your server all the time. And when any come to your discord to ask you directly in there to have it stopped you ban them.
The guy wants you to work for free for him to make money while he makes vlogs about how great he is. That is what I see when I look up his stuff. Let him fix his own bugs or PAY someone like all other server owners do.
Maybe be nice if you keep your players out of every other server's discord channels spamming invites to your discord channel, please. It is rather tacky.
Sorry if that does not work I added the custom spells directly into my spell system for other settings to work for my server. Just figured it might work out for someone. I will go see if I have a blank one from when I first obtained it in my repo history.
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
using Server.Mobiles;
using Server.Spells;
using Server.Commands;
//using Server.ACC.CSS;
namespace Server.Scripts.Commands
{
public class AllSpellCommands
{
public static void Initialize()...
You can already use UOSteam code in Razor Enhanced which works with ClassicUO Clients. No reason to spend this absurd amount of money on something you can already do. They even have the editor working with the syntax when writing.
Add at top of Gumps script.
using Server.Commands;
Then inside can add
public static void Initialize()
{
CommandSystem.Register("CheckDura", AccessLevel.Player, new CommandEventHandler(CheckDura_OnCommand));
}
[Usage("CheckDura")]...
I made some edits on mine to this to not have to tile every time.
I added this so it is under the Back button:
AddCheck(15, 140, 2151, 2153, false, 1);
AddLabel(55, 145, 1153, "Tile");
And to handle it I just changed it to
if (info.IsSwitched(1))...