Skip to content
/SLASHPLAY

HostMap

Internal engine value holding the map name the engine was asked to load.

HostMap <mapname>

Examples

HostMap

Prints the current value.

Arguments

mapnameRequired
Map name. Informational only.

What it does

The engine keeps the name of the map passed to it in this value. Setting it by hand does not change the map: use changelevel or map for that. Its default is the first Half-Life map, which is not used in Counter-Strike.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.