Ive gottten it thanks tho i used
Steam API for that. since you're external, the easiest way is to get the players SteamID64 and use Steam Web API GetPlayerSummaries. it gives you the avatar URL, then you download the image, convert it to a texture and render it. just cache the texture by SteamID so you don’t request/download it every frame.