LeiteDeVaca
Civil Servant Zombie
Civil Servant Zombie
Posts: 27
Joined: Fri Dec 09, 2016 11:11 pm

Translation question

Sun Jan 08, 2017 5:09 pm

Code: Select all

private override TranslationList DefaultTranslations
        {
            get
            {
                return new TranslationList()
                {
                    {"MessageToCaller","You switched your position with {0}."},
                    {"MessageToVictim","{0} switched positions with you."},
                    {"MessageToEveryone","{0} switched positions with {1}."},
                    {"AlertToCaller","Done. [{0} to {1}]."}
                };
            }
        }

This code above gives me error ('SwitchPosition.SwitchPosPlugin.DefaultTranslations': virtual or abstract members cannot be private).

If I set to public, the messages won't show up ingame.
0 x

Return to “Support”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Advertisement