Code:
void Modderlist()
{
char* modtemp = new char[255];
float pos = 0.1125;
int i = 0;
for (i = 0; i < 18; i++)
{
if (NETWORK::NETWORK_IS_PLAYER_CONNECTED(i)) {
strcpy(modtemp, PLAYER::GET_PLAYER_NAME(i));
if (PLAYER::GET_PLAYER_MAX_ARMOUR(i) == 777)
strcat(modtemp, " [~r~LegacyC~w~]");
if (PLAYER::GET_PLAYER_MAX_ARMOUR(i) == 571)
strcat(modtemp, " [~y~SRB 1.7~w~]");
}
snprintf(modtemp, sizeof(modtemp), "Modding:", PLAYER::GET_PLAYER_NAME(i));
drawText2(modtemp, 6, 0.07f, (pos += 0.025f), 0.5, 0.5, 255, 255, 255, 0, 0);
}
}
Please help, when it's executed it doesn't draw the text. basically does nothing