17.07.2014, 23:19
No entendн, para comprobar si esta 'online' usa:
ї o es esto lo quй dices?.
pawn Код:
if(IsPlayerConnected(playerid))
pawn Код:
new conteo = 0, string[68];
for(new x = 0; x < MAX_PLAYERS; x++)
{
if(IsPlayerConnected(x))
{
if(PlayerInfo[x][Admin])
{
conteo++;
format(string, sizeof(string), " %s(%d) administrador %s\n", Nombre(x), x, test);
}
}
}
ShowPlayerDialog(playerid, id, DIALOG_STYLE_MSGBOX, "titulo", string, "Boton 1", "Boton 2");