• Fretta Vote Game Mode Disable?
    7 replies, posted
Basically, i'm running a DR only server but have to choose DR every time on vote gamemode, how can this be avoided?
[img]http://i53.tinypic.com/2ekqcyr.png[/img] [QUOTE=_NewBee;28597156]I'm pretty sure there's a console command. [editline]14th March 2011[/editline] fretta_voting 0[/QUOTE]
I only want to disable vote gamemode not vote map
Anyone?
Anyone at this coding establishment know how lua internally works? anyone?
[lua]function GM:StartFrettaVote() if GAMEMODE.m_bVotingStarted or GAMEMODE:InGamemodeVote() then return end -- manually set what would be the result of a GM vote otherwise GAMEMODE.WinningGamemode = "whateveryourdeathrungamemodeis" GAMEMODE.m_bVotingStarted = true GAMEMODE:ClearPlayerWants() GAMEMODE:StartMapVote() end[/lua] Stolen from TTT
And that would be shared.lua ?
What file do I put the code in, shared.lua did not work.
Sorry, you need to Log In to post a reply to this thread.