Exemplo n.º 1
0
        private void changeButton_Click(object sender, EventArgs e)
        {
            string nick = nickBox.Rows[nickBox.SelectedCells[0].RowIndex].Cells[nickBox.Columns["nameColumn"].Index].Value.ToString();

            ConVarManager.ChangeName(nickBox.Rows[nickBox.SelectedCells[0].RowIndex].Cells[nickBox.Columns["nameColumn"].Index].Value.ToString());

            UpdateNickBox();
        }
Exemplo n.º 2
0
        public static void Start()
        {
            while (true)
            {
                Thread.Sleep(1);

                if (!LocalPlayer.InGame)
                {
                    return;
                }

                if (Properties.Settings.Default.fakefriendlyfire && fakenametargetid != -1)
                {
                    if (LocalPlayer.CrossHair < 64 && LocalPlayer.CrossHair > 0)
                    {
                        if (new Entity(LocalPlayer.CrossHair).isTeam)
                        {
                            if (LocalPlayer.Name != " " + new Entity(fakenametargetid).Name2 + " " && LocalPlayer.Name != new Entity(fakenametargetid).Name2&& !faked)
                            {
                                ConVarManager.StealName(fakenametargetid);
                                faked = true;
                            }
                        }
                    }
                    else
                    {
                        if (faked)
                        {
                            ConVarManager.ChangeName(LocalPlayer.Name);
                            faked = false;
                        }
                    }
                }

                if (Properties.Settings.Default.namestealer)
                {
                    foreach (Entity x in Entity.List())
                    {
                        if (!Properties.Settings.Default.namestealer)
                        {
                            break;
                        }
                        ConVarManager.StealName(x.Index);
                        Thread.Sleep(250);
                    }
                }
            }
        }
Exemplo n.º 3
0
        public static void Start()
        {
            if (!LocalPlayer.InGame)
            {
                return;
            }

            while (Properties.Settings.Default.namestealer)
            {
                foreach (Entity x in Entity.List())
                {
                    if (!Properties.Settings.Default.namestealer)
                    {
                        break;
                    }
                    ConVarManager.ChangeName(x.Name);
                    Thread.Sleep(250);
                }
            }
        }
Exemplo n.º 4
0
 private void setupButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(customnameTextBox.Text);
     LocalPlayer.Name = customnameTextBox.Text;
     UpdateNickBox();
 }
Exemplo n.º 5
0
 private void resetButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(LocalPlayer.Name);
     UpdateNickBox();
 }
Exemplo n.º 6
0
 private void setupButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(customnameTextBox.Text);
 }