19.12.2009, 17:26
Use a timer and SendRconCommand
EDIT: example :P
EDIT: example :P
pawn Код:
forward HostNameChange();
public OnGameModeInit()
{
SetTimer( "HostNameChange", true, 10*1000 ); //timer will execute every 10th second
return true;
}
public HostNameChange()
{
//here do the hostname change
}