public void setLabel(PlayerDataLabel label, PlayerDataModel player)
        {
            label.playerName     = player._PlayerName;
            label.healthBarColor = Color.FromArgb(25, 140, 25);
            label.playerHealth   = (int)player._PlayerHealth;
            label.PDM            = player;

            label.m = m;
            if (player._LivingStatus == "DEAD")
            {
                label.playerNameColor = Color.FromArgb(175, 175, 175);
            }
            else
            {
                label.playerNameColor = Color.FromArgb(255, 255, 255);
            }
        }
        private List <PlayerDataModel> processPlayers()
        {
            List <PlayerDataModel> playerData = new List <PlayerDataModel>();

            //Make sure we are in a game.
            if (m.ReadBytes(GameHelper.PLAYER_POINTER_ADDRESS, 4) != new byte[] { 0x00, 0x00, 0x00, 0x00 })
            {
                string objectPtr = ByteConverstionHelper.byteArrayHexToAddressString(m.ReadBytes(GameHelper.PLAYER_INDEX_POINTER_ADDRESS, 4));
                do
                {
                    string playerPointerAddress     = ByteConverstionHelper.byteArrayHexToAddressString(m.ReadBytes((int.Parse(objectPtr, System.Globalization.NumberStyles.HexNumber) + GameHelper.PLAYER_INDEX_PLAYER_POINTER_OFFSET).ToString("X4"), 4));
                    string playerNamePointerAddress = ByteConverstionHelper.byteArrayHexToAddressString(m.ReadBytes((int.Parse(playerPointerAddress, System.Globalization.NumberStyles.HexNumber) + GameHelper.PLAYER_NAME_OFFSET).ToString("X4"), 4));
                    string teamID   = ByteConverstionHelper.byteArrayHexToHexString(m.ReadBytes((int.Parse(playerPointerAddress, System.Globalization.NumberStyles.HexNumber) + GameHelper.PLAYER_TEAMID_OFFSET).ToString("X4"), 4));
                    string teamName = GameHelper.GetTeamName(teamID);


                    if (teamName == "SEALS" || teamName == "TERRORISTS")
                    {
                        PlayerDataModel PD = new PlayerDataModel();
                        PD._pointerAddress = playerPointerAddress;
                        PD._Team           = teamName;
                        PD._PlayerHealth   = ByteConverstionHelper.byteHexFloatToDecimal(m.ReadBytes((int.Parse(playerPointerAddress, System.Globalization.NumberStyles.HexNumber) + GameHelper.PLAYER_HEALTH_OFFSET).ToString("X4"), 4));

                        PD._PlayerName = ByteConverstionHelper.convertBytesToString(m.ReadBytes(playerNamePointerAddress, 20));
                        //PD._hasMPBomb = m.readByte((int.Parse(playerPointerAddress, System.Globalization.NumberStyles.HexNumber) + GameHelper.ENTITY_HAS_MPBOMB).ToString("X4"));
                        int livingStatus = m.ReadByte((int.Parse(playerPointerAddress, System.Globalization.NumberStyles.HexNumber) + GameHelper.PLAYER_DEATH_CAUSE_ID_OFFSET).ToString("X4"));

                        if (livingStatus == 255)
                        {
                            PD._LivingStatus = "ALIVE";
                        }
                        else
                        {
                            PD._LivingStatus = "DEAD";
                        }

                        playerData.Add(PD);
                    }

                    objectPtr = ByteConverstionHelper.byteArrayHexToAddressString(m.ReadBytes(objectPtr, 4)); // Get the next pointer in the list
                } while (objectPtr.ToUpper() != "206FE508");
            }

            return(playerData);
        }