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!

Moongate.cs

UltimaOnlinee

Wanderer
Hi friends, please tell me how to create one if you are "criminal" then you can not go to moongate. With all PublicMoongate normally check to see whether the "criminal" and at no moongate
 
Code:
            if ( m.Criminal )
            {
                m.SendLocalizedMessage( 1005561, "", 0x22 ); // Thou'rt a criminal and cannot escape so easily.
                return false;
            }

Great Example within the PublicMoongate.cs to learn by, try it out and get back to us if you have a problem getting it to work for yours.
 
Top