29.03.2010, 17:34
Hi I saw that in many server hostname changed every few seconds as I set it also in my GameMode? There is a special station or you must add a few string?
forward HostNameChange();
public OnGameModeInit()
{
SetTimer( "HostNameChange", true, 10*1000 ); //timer will execute every 10th second
return true;
}
public HostNameChange()
{
//here do the hostname change
}
|
Originally Posted by XRVX
Code:
SetTimer( "HostNameChange", true, 10*1000 ); //timer will execute every 10th second |