LightifyLife Posted February 1, 2014 Share Posted February 1, 2014 (edited) Hi, What do I need to edit in the destruction_derby.lua to let the last survivor finish the map? I'm trying to remove 'race ran' from the scoreboard but it is not working. exports.scoreboard:removeScoreboardColumn('race ran') I did successfully remove 'state' from the scoreboard with the same code. What am I doing wrong? Edited February 2, 2014 by Guest Link to comment
MTA Team 0xCiBeR Posted February 1, 2014 MTA Team Share Posted February 1, 2014 You are sure that it's called that way? It's easier to delete the part of the code that creates that column. Link to comment
LightifyLife Posted February 2, 2014 Author Share Posted February 2, 2014 You are sure that it's called that way? It's easier to delete the part of the code that creates that column. I don't know where the piece of code is located. Do you know it? Also, do you perhaps know what I need to edit in the destruction_derby.lua to let the last survivor finish the map? Link to comment
LightifyLife Posted February 2, 2014 Author Share Posted February 2, 2014 I found it, it was called 'race rank' and located in the destruction_derby.lua. Link to comment
h4x7o0r Posted February 2, 2014 Share Posted February 2, 2014 in destructionderby.lua search for those 2 functions (I assume you want this for a DM server) : DestructionDerby:onPlayerQuit(player) DestructionDerby:onPlayerWasted(player) Replace the following code in every single one: Default: if getActivePlayerCount() <= 1 then Change with : if getActivePlayerCount() <= 0 then 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