16.12.2015, 20:55
PHP код:
new foundDJs;
foreach(Player, i) // or for(new i = 0; i != MAX_PLAYERS; i++) with a IsPlayerConnected check
{
if(pInfo[i][pDJ])
{
foundDJs ++;
// display DJs name or whatever
}
}
if(!foundDJs)
{
// No djs were found.
}