17.05.2010, 12:28
is this possible or not
|
Originally Posted by johnathon956
is this possible or not
|
|
Originally Posted by Shady91
Quote:
|

|
Originally Posted by DJDhan
Quote:
![]() No, that's only from the server.cfg. the only thing you can set is the Mode and Map. |
SendRconCommand("hostname NAMEHERE");

Or just login to rcon then /rcon hostname OMGLOLOLOL
#define hostname "=AS="
#define mapname "=AS="
#define modename "=AS="
#define website "=AS=.com"
|
Originally Posted by johnathon956
lol i was thinking something like
pawn Code:
|
#define modename "My IceCream" //On the top
//OnGameModeInit
SetGameModeText(modename); //Set's the mode of the gm :)
:





:
D new changename = 1;
forward CHANGE();
public OnFilterScriptInit()
{
SetTimer("CHANGE", 2000, 1);
}
public CHANGE()
{
if(changename == 1)
{
changename = 2;
SendRconCommand("hostname servername 1");
return 1;
}
else if(changename == 2)
{
changename = 3;
SendRconCommand("hostname server name 2");
return 1;
}
else if(changename == 3)
{
changename = 1;
SendRconCommand("hostname servername 3");
return 1;
}
return 1;
}