Iterating thru Photon's Player list

Wait 5 sec.

Hi guys, I need help on how to get player list on photon.. i tried this: But it would alert 1 time when theres 10 people in the server, idk what im doing wrong? #pragma once#include "../../../menu/includes.h" inline uintptr GetPlayers() { Il2CppClass *photonNet = UnityClass::Find("Photon.Pun", "PhotonNetwork"); static auto getPlayerList = reinterpret_cast( UnityClass::Utils::GetMethodPointer("Photon.Pun.PhotonNetwork", "get_PlayerList", 0)); uintptr PlayerArray = getPlayerList(); if (!PlayerArray) { return 0; } int32 Count = *reinterpret_cast(PlayerArray + 0x18); for (int32 i = 0; i < Count; i++) { show_alert("Mod", "Counting.."); } return PlayerArray;}