18.12.2013, 09:53
Forward :
Add this in your OnGameModeInit
And this as a public
Код:
forward HostNameChanger();
Код:
SetTimer("HostNameChanger",5000,1);
Код:
public HostNameChanger() { new variable = random(2); //(Change the 3 to a different number if you are adding more message or deleting) switch (variable) { case 0: SendRconCommand("hostname Message 1"); // << Don't delete the hostname case 1: SendRconCommand("hostname Message 2"); // << Don't delete the hostname } }