17.08.2010, 02:17
Not too shabby, alot of people don't even know this exists. 
You could also use a simple function I made, it does the exact same thing, but this is a bit "shorter", and looks better.

You could also use a simple function I made, it does the exact same thing, but this is a bit "shorter", and looks better.

pawn Code:
forward SetMapName(mapName[]);
public SetMapName(mapName[])
{
new string[30];
format(string, sizeof(string), "mapname %s", mapName);
SendRconCommand(string);
return 1;
}
USAGE: SetMapName("Sky's World"); //would set the mapname to Sky's World