Jump to content
  • 0

Remove Vote Map


fraisport

Question

Hello guys, i need your help, before i want say sorry for my bad english... :S

Ok so i want remove the votemap when all people are dead and when someone enter in the server because when i enter in the server the votemap start and when all are dead votemap start...

Can i remove it?

Link to comment

3 answers to this question

Recommended Posts

  • 0

Go to "race/modes/base.lua" and replace this function:

function RaceMode.startNextMapSelect() 
    if stateAllowsNextMapSelect() then 
        gotoState('NextMapSelect') 
        Countdown.destroyAll() 
        destroyAllMessages() 
        if g_GameOptions.randommaps then 
            startRandomMap() 
        else 
            startNextMapVote() 
        end 
    end 
end 
  

With:

function RaceMode.startNextMapSelect() 
    if stateAllowsNextMapSelect() then 
        gotoState('NextMapSelect') 
        Countdown.destroyAll() 
        destroyAllMessages() 
        if g_GameOptions.randommaps then 
            startRandomMap() 
        end 
    end 
end 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...