Dinamic server name..
#1

Hello!I would to ask, how can I make the server name we changes at a certain time?

Sorry for my bad English!
Reply
#2

Add me on skype: gstrafe ! I am from Bulgaria too
Reply
#3

pawn Код:
SendRconCommand("hostname Server Name");
Reply
#4

pawn Код:
forward chn(); // at the top of your script
SetTimer("chn",1000,1); //under OnGameModeInit
public chn() // anywhere
{
    new chname = random(3);
    {
        switch (chname)
        {
            case 0: SendRconCommand("hostname Your Server Name 1");
            case 1: SendRconCommand("hostname Your Server Name 2");
            case 2: SendRconCommand("hostname Your Server Name 3");
        }
        return 1;
    }
}
Reply
#5

Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)