cammy
Member
- May 15, 2014
- 481
- 238
Currently trying to allow anyone to use a crafting alter however at the moment it's set to only allow users to use their own.
How would I go about allowing people who don't own the alter to use it?
Here's my InteractorCrafting.cs
How would I go about allowing people who don't own the alter to use it?
Here's my InteractorCrafting.cs
using System;
using Emulator.HabboHotel.GameClients;
using Emulator.Communication.Packets.Outgoing.Rooms.Furni;
using Emulator.Communication.Packets.Outgoing.Rooms.Notifications;
using Emulator.HabboHotel.Items.Interactor;
using Emulator.HabboHotel.Items;
using Emulator.Communication.Packets.Outgoing.Rooms.Furni.Crafting2;
namespace Emulator.HabboHotel.Items.Interactor
{
class InteractorCrafting : IFurniInteractor
{
public void OnPlace(GameClient Session, Item Item)
{
}
public void OnRemove(GameClient Session, Item Item)
{
}
public void OnTrigger(GameClient Session, Item Item, int Request, bool HasRights)
{
Session.SendMessage(new MassEventComposer("inventory/open"));
Session.SendMessage(new CraftableProductsComposer());
}
public void OnWiredTrigger(Item Item)
{
}
}
}
using Emulator.HabboHotel.GameClients;
using Emulator.Communication.Packets.Outgoing.Rooms.Furni;
using Emulator.Communication.Packets.Outgoing.Rooms.Notifications;
using Emulator.HabboHotel.Items.Interactor;
using Emulator.HabboHotel.Items;
using Emulator.Communication.Packets.Outgoing.Rooms.Furni.Crafting2;
namespace Emulator.HabboHotel.Items.Interactor
{
class InteractorCrafting : IFurniInteractor
{
public void OnPlace(GameClient Session, Item Item)
{
}
public void OnRemove(GameClient Session, Item Item)
{
}
public void OnTrigger(GameClient Session, Item Item, int Request, bool HasRights)
{
Session.SendMessage(new MassEventComposer("inventory/open"));
Session.SendMessage(new CraftableProductsComposer());
}
public void OnWiredTrigger(Item Item)
{
}
}
}