~DarkRacer~ Posted March 5, 2013 Share Posted March 5, 2013 in the race mode: i want to make that when the "last survival" message comes up Do Not Start New Vote Map until the last player dies. does anyone know where are the files that need to edit on and what functions should i use to stop this, thx. Link to comment
Anony# Posted March 5, 2013 Share Posted March 5, 2013 destructionderby.lua if getActivePlayerCount() <= 0 then admin>resources>race>settings>random maps>false Link to comment
~DarkRacer~ Posted March 5, 2013 Author Share Posted March 5, 2013 it was : if getActivePlayerCount() <= 1 then i changed it to: if getActivePlayerCount() <= 0 then but didn't work Link to comment
~DarkRacer~ Posted March 5, 2013 Author Share Posted March 5, 2013 i can't edit destructionderby.lua why? Link to comment
Anony# Posted March 5, 2013 Share Posted March 5, 2013 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
~DarkRacer~ Posted March 5, 2013 Author Share Posted March 5, 2013 anony# i can't edit the file it keep telling me that u have to refresh it. and everything goes back as it was. Link to comment
iPrestege Posted March 5, 2013 Share Posted March 5, 2013 What you mean with that you can't ? Link to comment
PaiN^ Posted March 5, 2013 Share Posted March 5, 2013 Shut down your server first, Then edit it ... Link to comment
~DarkRacer~ Posted March 5, 2013 Author Share Posted March 5, 2013 Ok. but i will do it later cause there is a lot of players now. Link to comment
Anony# Posted March 5, 2013 Share Posted March 5, 2013 that madness, does not need the "restart" now just edit it Link to comment
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