stock PlayerList(users) { // Example: PlayerList(30) would show 30 users or PlayerList(MAX_PLAYERS) would show them all new players = Array(); for(new i = 0; i <= USERS; i++) { // Loop through if(IsPlayerConnected(i)) { // Check if they're connected players[i] = PlayerName(i); } } return players; // Return the array}stock PlayerName(playerid) { new name[MAX_PLAYER_NAME]; // Make the variable GetPlayerName(playerid, name, sizeof(name)); // Get the name and save to the variable return name; // Return the name}