RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

GM ToolBar (2.0)

vampyerskss

Wanderer
GM ToolBar (2.0)

Didn't Script this one...Not sure how many use it but its helped me alot..
Fixed it to work with 2.0
 

Attachments

  • ToolBar.cs
    7.3 KB · Views: 379

Raider

Wanderer
vampyerskss said:
Didn't Script this one...Not sure how many use it but its helped me alot..
Fixed it to work with 2.0
Well it doesnt work with 2.0 i just added it to custom scripts and got and error
Code:
Errors:
 + Custom Scripts/ToolBar.cs:
    CS0118: Line 33: 'Scripts.Commands.ToolBarGump' is a 'namespace' but is used
 like a 'type'
    CS0118: Line 34: 'Scripts.Commands.ToolBarGump' is a 'namespace' but is used
 like a 'type'
    CS1502: Line 34: The best overloaded method match for 'Server.Mobile.SendGum
p(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 34: Argument '1': cannot convert from 'ToolBarGump' to 'Server.
Gumps.Gump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 

Erica

Knight
Raider said:
Well it doesnt work with 2.0 i just added it to custom scripts and got and error
Code:
Errors:
 + Custom Scripts/ToolBar.cs:
    CS0118: Line 33: 'Scripts.Commands.ToolBarGump' is a 'namespace' but is used
 like a 'type'
    CS0118: Line 34: 'Scripts.Commands.ToolBarGump' is a 'namespace' but is used
 like a 'type'
    CS1502: Line 34: The best overloaded method match for 'Server.Mobile.SendGum
p(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 34: Argument '1': cannot convert from 'ToolBarGump' to 'Server.
Gumps.Gump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
Change this Raider on the top of script
Code:
namespace Server.Commands
to this
Code:
namespace Scripts.ToolBarGump
and will work.
 
Top