So I'm trying to Add Icon As the form of png image. I want to add it to the scoreboard Of csgo
i want to change the Public Levels of csgo icons to custom ones.
I was able to change between the levels but I don't know how to add or change to customs ones
My code :
HTML Code:
static Offset = -1;
if (Offset == -1) {
Offset = FindSendPropInfo("CCSPlayerResource", "m_nPersonaDataPublicLevel");
}
int tempPrank[MAXPLAYERS+1];
GetEntDataArray(iEnt, Offset, tempPrank, MAXPLAYERS+1);
for (int i = 1; i <= MaxClients; i++)
{
tempPrank[i] = 1;
SetEntDataArray(iEnt, Offset, tempPrank, MAXPLAYERS+1, _, true);
}
Thanks for the help in advance :p