Nope, fretta always randomizes the list, there's no convar for it.
Can I disable the randomize and make it call for a txt file I have manually typed the maps in? That may be the wrong direction but i know this isn't impossible :p
Think i found it this is it right?
function PANEL:ChooseMap( gamemode )
self.lblActionName:SetText( "Which Map?" )
self:ResetPeeps()
self.ctrlList:Clear()
local gm = g_PlayableGamemodes[ gamemode ]
if ( !gm ) then MsgN( "GAMEMODE MISSING, COULDN'T VOTE FOR MAP ", gamemode ) return end
for id, mapname in RandomPairs( gm.maps ) do
local lbl = vgui.Create( "DButton", self.ctrlList )
lbl:SetText( mapname )
Derma_Hook( lbl, "Paint", "Paint", "GamemodeButton" )
Derma_Hook( lbl, "ApplySchemeSettings", "Scheme", "GamemodeButton" )
Derma_Hook( lbl, "PerformLayout", "Layout", "GamemodeButton" )
lbl:SetTall( 24 )
lbl:SetWide( 240 )
lbl.WantName = mapname
lbl.NumVotes = 0
lbl.DoClick = function() if GetGlobalFloat( "VoteEndTime", 0 ) - CurTime() <= 0 then return end RunConsoleCommand( "votemap", mapname ) end
self.ctrlList:AddItem( lbl )
end
end