//Another script by Toneo
//Change the nextmap in UMap!

if !UMaps then
MsgAll("****WARNING**** UMaps has not been detected!!")
end

local function ChangeMap(ply,cmd,args)
if !ply:IsValid() || !ply:IsAdmin() || !args[1] then return end
local a = args[1]
UMaps.nextmap = a
MsgAll("Successfully changed nextmap to "..UMaps.nextmap..".")
end
concommand.Add("umaps_changemap",ChangeMap)
