16.12.2015, 18:50
i want to create /djs it will show online dj, any one help me?
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.
}