asdf0523

Member
upload_2015-11-7_19-26-35.png


Type of space could not be found or, if using directive is missing, ask here is where errors, I just want to use a command to start the month of the world.
 
You should provide the whole script as this does not show how the gump is named --this shows error MoongateGump
 
You should provide the whole script as this does not show how the gump is named --this shows error MoongateGump

using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Server;
using Server.Misc;
using Server.Items;
using Server.Mobiles;
using Server.Network;
using Server.Gumps;
using Server.Commands.Generic;
using Server.Commands;

namespace Server
{
public static class Moong
{
public static void Initialize()
{
CommandSystem.Register("Moon", AccessLevel.Administrator, new CommandEventHandler(Moon_OnCommand));
}

[Usage("Moon")]
[Description("Moon.")]
private static void Moon_OnCommand(CommandEventArgs e)
{
e.Mobile.SendGump(new MoongateGump(e));
}
}
}



I want to use "[Moon" this command, called moon gate is MoongateGUMP in the world.



upload_2015-11-7_23-30-53.png

Error: "Server.Items.MoongateGump" does not contain "1" parameter of the constructor.

I hope you can help me, brother!
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back