示例#1
0
        private void changeButton_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(nickBox.Rows[nickBox.SelectedCells[0].RowIndex].Cells[nickBox.Columns["idColumn"].Index].Value);

            ConVarManager.StealName(id);

            UpdateNickBox();
        }
示例#2
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();
        }
示例#3
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);
                    }
                }
            }
        }
示例#4
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);
                }
            }
        }
示例#5
0
 private void setupButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(customnameTextBox.Text);
     LocalPlayer.Name = customnameTextBox.Text;
     UpdateNickBox();
 }
示例#6
0
 private void resetButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(LocalPlayer.Name);
     UpdateNickBox();
 }
示例#7
0
 private void setupButton_Click(object sender, EventArgs e)
 {
     ConVarManager.ChangeName(customnameTextBox.Text);
 }