Quote:
Any way to get the current map's name?
(if not plz add for next patch squeek kthxbye)
Attempting to make a system to rate maps, which I'll expand into a full map voting system.
( Also would really like to know if there's a nice and simple way of making a list short of just making a large table and annoying the hell out of all server admins by forcing them to be unable to copy-paste their old map lists. :P )
|
EDIT: Found it! host_map is a cvar that shows the current map file.
EDIT 2: NOPE. host_map is a client variable, that is set to 0 on the server. Therefore, Lua can't actually use it. Brilliant.