Hacer doble texto en nombre del server.
#10

ValenRatti, tu mйtodo estб incompleto, acб te lo pongo yo:
pawn Код:
#define CAMBIARDENOMBRE_TIME 3 //Cada 3 segundos cambiarб el nombre del server

new Hostnames[][] = {
    "Entra a www.tupagina.com",
    "Mi server",
    "Nombre 3",
    "Nombre 4",
    "Nombre 5",
    "Nombre 6"
};

forward ChangeHostname();
public ChangeHostname()
{
    static hostname;
    SendRconCommand(Hostnames[hostname]);
    hostname = ((sizeof(Hostnames)-1) == hostname) ? 0 : hostname+1;
}

//En algъn lugar de OnGameModeInit
SetTimer("ChangeHostname", CAMBIARDENOMBRE_TIME*1000, 1);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)