Thow Posted January 5, 2014 Share Posted January 5, 2014 Ive made a mta race server for me and my. Friends but we can't play a whole map beqause if someone dies the server just ends the map and gives a voting screen. How can we disable the voting screen Link to comment
0 =KoG=Rouche Posted January 7, 2014 Share Posted January 7, 2014 Go in \mods\deathmatch\resources\[gamemodes]\[race]\race\modes/destructionderby.lua And edit these functions like that... (change 1 to 0) function DestructionDerby:onPlayerWasted(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 0 then RaceMode.endMap() else TimerManager.createTimerFor("map",player):setTimer(clientCall, 2000, 1, player, 'Spectate.start', 'auto') end end RaceMode.setPlayerIsFinished(player) showBlipsAttachedTo(player, false) end function DestructionDerby:onPlayerQuit(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 0 then RaceMode.endMap() end end end Link to comment
Question
Thow
Ive made a mta race server for me and my. Friends but we can't play a whole map beqause if someone dies the server just ends the map and gives a voting screen. How can we disable the voting screen
Link to comment
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now