11.04.2012, 13:30
Does anyone know the code to set the map name in server list?
SendRconCommand("mapname Yourmapname");
SendRconCommand("mapname Los Santos");
mapname Los santos
forward ChangeMapName();
SetTimer("ChangeMapName",1500,1);
public ChangeMapName() { new var = random(2); //(Change the 2 to a different number if you are adding more message or deleting) switch (var) { case 0: SendRconCommand("mapname |name here|"); // WARNING: Do not delete "mapname" case 1: SendRconCommand("mapname |name here|"); // WARNING: Do not delete "mapname" } }