Example #1
0
        protected override void OnRconCommand(RconEventArgs e)
        {
            Console.WriteLine("[RCON] {0}", e.Command);
            GtaPlayer.SendClientMessageToAll("Rcon message: {0}", e.Command);

            Console.WriteLine("Throwing exception after a stack filter...");
            StackFiller(1);

            e.Success = false;
            base.OnRconCommand(e);
        }
Example #2
0
        public static bool CharsetCommand(GtaPlayer player)
        {
            GtaPlayer.SendClientMessageToAll(Color.Teal, "this is a test: \u00D6");
            GtaPlayer.SendClientMessageToAll(Color.Teal, "this is a test: Ä ä Ö ö Ü ü ß ...");

            GtaPlayer.SendClientMessageToAll("Cyrillic characters:");
            GtaPlayer.SendClientMessageToAll("А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ь Ы Ъ Э Ю Я");
            GtaPlayer.SendClientMessageToAll("Czech characters:");
            GtaPlayer.SendClientMessageToAll("ú ů ý ž ’ „ “ ” – — á č ď é ě í ň ó ř š ť Ú Ů Ý Ž Á Č Ď É Ě Í Ň Ó Ř Š Ť");

            return(true);
        }