changing hostname automatic
#10

Код:
#include <a_samp>
#define FILTERSCRIPT
forward hostname();
forward hostname2();
#define hostnamechangetime 3000 // Change "3000" to the value how often the hostname is changed, 1000 = 1 second

//----------------------------------------------------------------------------

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print("AutoHostname");
	print("--------------------------------------\n");
	SetTimer("hostname", 3000, 0);/settimer 3000,to 1000 = 1 second
	return 1;
}

//----------------------------------------------------------------------------
public hostname()
{
      SendRconCommand("hostname verision 1.6");//modify the name server don't remove hostname
      SetTimer("hostname", hostnamechangetime, 0);//settimer hostname
      return 1;
}
public hostname2()
{
      SendRconCommand("hostname lets go counter strike ");//modify the name server don't remove hostname
      SetTimer("hostname2", hostnamechangetime, 0);//settimer hostname2
      return 1;
}
Reply


Messages In This Thread
changing hostname automatic - by marwan - 25.06.2011, 09:53
Re: changing hostname automatic - by park4bmx - 25.06.2011, 09:57
Re: changing hostname automatic - by langricr - 25.06.2011, 09:57
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:02
Re: changing hostname automatic - by Skaizo - 25.06.2011, 10:05
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:06
Re: changing hostname automatic - by marwan - 25.06.2011, 10:23
Re: changing hostname automatic - by langricr - 25.06.2011, 10:39
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:44
Re: changing hostname automatic - by Skaizo - 25.06.2011, 10:54

Forum Jump:


Users browsing this thread: 1 Guest(s)