Quote:
Originally Posted by ExeC
At the top of your gamemode:
pawn Code:
#define HName1 "Hostname 1" #define HName2 "Hostname 2"
Under OnGameModeInit:
pawn Code:
SetTimer("HNChange", 5000, 0);
At the bottom of your gamemode:
pawn Code:
forward HNChange(); public HNChange() { new str[128]; format(str, sizeof(str), "hostname %s", HName1"); SendRconCommand(str); SetTimer("HNChange2", 5000, 0); }
pawn Code:
forward HNChange2(); public HNChange2() { new str[128]; format(str, sizeof(str), "hostname %s", HName2"); SendRconCommand(str); SetTimer("HNChange", 5000, 0); }
(Dunno how old this topic was, because I was just searching something and found this...)
|
I dont care its old xD i waited for long thank you mate your the best to answer <3