Esempio n. 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();
        }
Esempio n. 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.StealName((int)nickBox.Rows[nickBox.SelectedCells[0].RowIndex].Cells[nickBox.Columns["idColumn"].Index].Value);

            UpdateNickBox();
        }
Esempio n. 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);
                    }
                }
            }
        }