Thread: Admin tools
View Single Post
Old
  (#12)
DogMeat is Offline
Senior Member
 
Posts: 469
Join Date: Jan 2002
Location: Rockwood, MI
 Send a message via ICQ to DogMeat Send a message via AIM to DogMeat Send a message via MSN to DogMeat Send a message via Yahoo to DogMeat  
Default 10-10-2002, 06:37 PM

The cvar mapname contains the name of the current map, and sv_maplist of course has the full list of maps in rotation. In addition, most maps include a script to set g_obj_alliedtext1 to the "pretty" name of the map, as opposed to the raw one in mapname.

Easy to read via console, rcon (AutoKick) or internal script (DMz).
  
Reply With Quote