for (int Players = 0; Players < 18; Players++)
{
char str[100];
for (int i = 0; i < sizeof(str); i++)
str[i] = 0;
strcat(str, PLAYER::GET_PLAYER_NAME(Players));
if (NETWORK::NETWORK_IS_PLAYER_CONNECTED(Players))
{
if (Players == PLAYER::PLAYER_ID())
{
strcat(str, " ~g~[Yo]");
}
if (Players == NETWORK::NETWORK_GET_HOST_OF_SCRIPT("freemode", -1, 0))
{
strcat(str, " ~b~[Host]");
}
if (Players >= 16) //SCTV players
{
strcat(str, "~o~[SCTV] %s");
}
addOption(str);
}
else
{
addOption("~m~Noelia_75");
}
if (Players == currentOption - 1);
}
if (optionPress && NETWORK::NETWORK_IS_PLAYER_CONNECTED(currentOption - 1))
{
selectedPlayer = currentOption - 1;
changeSubmenu(Player_Options);
}
ViewInfo(0);
break;
What a mistake I have that shows me the players but the sctv slots don't???
{
char str[100];
for (int i = 0; i < sizeof(str); i++)
str[i] = 0;
strcat(str, PLAYER::GET_PLAYER_NAME(Players));
if (NETWORK::NETWORK_IS_PLAYER_CONNECTED(Players))
{
if (Players == PLAYER::PLAYER_ID())
{
strcat(str, " ~g~[Yo]");
}
if (Players == NETWORK::NETWORK_GET_HOST_OF_SCRIPT("freemode", -1, 0))
{
strcat(str, " ~b~[Host]");
}
if (Players >= 16) //SCTV players
{
strcat(str, "~o~[SCTV] %s");
}
addOption(str);
}
else
{
addOption("~m~Noelia_75");
}
if (Players == currentOption - 1);
}
if (optionPress && NETWORK::NETWORK_IS_PLAYER_CONNECTED(currentOption - 1))
{
selectedPlayer = currentOption - 1;
changeSubmenu(Player_Options);
}
ViewInfo(0);
break;
What a mistake I have that shows me the players but the sctv slots don't???