01.02.2013, 16:28
Hey , Im only asking if there is a Gamemode code to change the name of the server in SAMP list, (not in Server.cfg but in the gamemode).
thanks.
thanks.
SendRconCommand( "hostname name" );
#define NAME "Servername"
SendRconCommand("hostname "NAME"");
stock ChangeServerName(name[])
{
new rconCMD[50];
format(rconCMD, sizeof(rconCMD), "hostname %s", name);
return SendRconCommand(rconCMD);
}
hostname Los Santos [DM]
hostname Los Santos [DM] [map 1/3]
SendRconCommand("Los Santos [DM] [map (number)/3]");