Making a hostname
#1

How can I make 2 hostnames for my server?
Like for 5 second it will be:
Grand Santos Roleplay
Then it will be:
Fixed some problems

I need help fast
Reply
#2

i have seen fs with that but i cant remember there. i think it was with some drift GM.. good luck for searching
Reply
#3

pawn Код:
new hostnameid;
OnGameModeInit
pawn Код:
SetTimer("ChangeHostName", 5000, true);
pawn Код:
public ChangeHostName()
{
    switch(hostnameid)
    {
        case 0: SendRconCommand("hostname Grand Santos Roleplay");
        case 1: SendRconCommand("hostname Fixed some problems");
    }
    hostnameid++;
    if(hostnameid > 1) hostnameid = 0;
}
Reply
#4

Thanks MadeMan, and nice name btw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)