Castillo Posted June 1, 2012 Posted June 1, 2012 The death list script files are: "rankingboard.lua" and "rankingboard_client.lua". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
lukasz12054 Posted June 1, 2012 Author Posted June 1, 2012 The death list script files are: "rankingboard.lua" and "rankingboard_client.lua". I have problem. When i remove these files gamemode race dont start. Please help
TwiX! Posted June 1, 2012 Posted June 1, 2012 The death list script files are: "rankingboard.lua" and "rankingboard_client.lua". I have problem. When i remove these files gamemode race dont start. Please help open race/modes/destructionderby.lua there find this code function DestructionDerby:handleFinishActivePlayer(player) -- Update ranking board for player being removed if not self.rankingBoard then self.rankingBoard = RankingBoard:create() self.rankingBoard:setDirection( 'up', getActivePlayerCount() ) end local timePassed = self:getTimePassed() self.rankingBoard:add(player, timePassed) -- Do remove finishActivePlayer(player) -- Update ranking board if one player left local activePlayers = getActivePlayers() if #activePlayers == 1 then self.rankingBoard:add(activePlayers[1], timePassed) showMessage(getPlayerName(activePlayers[1]) .. ' is the final survivor!', 0, 255, 0) end end and then comment or remove rankingboard function DestructionDerby:handleFinishActivePlayer(player) -- Update ranking board for player being removed if not self.rankingBoard then --self.rankingBoard = RankingBoard:create() --self.rankingBoard:setDirection( 'up', getActivePlayerCount() ) end --local timePassed = self:getTimePassed() --self.rankingBoard:add(player, timePassed) -- Do remove finishActivePlayer(player) -- Update ranking board if one player left local activePlayers = getActivePlayers() if #activePlayers == 1 then -- self.rankingBoard:add(activePlayers[1], timePassed) showMessage(getPlayerName(activePlayers[1]) .. ' is the final survivor!', 0, 255, 0) end end - Working on [php/HTML/Mysql/Lua/Java Scripts/Web Design/3D Modeling]
Castillo Posted June 2, 2012 Posted June 2, 2012 I supposed it was self explained that you had to search and remove everything related to the ranking board. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
lukasz12054 Posted June 2, 2012 Author Posted June 2, 2012 The death list script files are: "rankingboard.lua" and "rankingboard_client.lua". I have problem. When i remove these files gamemode race dont start. Please help open race/modes/destructionderby.lua there find this code function DestructionDerby:handleFinishActivePlayer(player) -- Update ranking board for player being removed if not self.rankingBoard then self.rankingBoard = RankingBoard:create() self.rankingBoard:setDirection( 'up', getActivePlayerCount() ) end local timePassed = self:getTimePassed() self.rankingBoard:add(player, timePassed) -- Do remove finishActivePlayer(player) -- Update ranking board if one player left local activePlayers = getActivePlayers() if #activePlayers == 1 then self.rankingBoard:add(activePlayers[1], timePassed) showMessage(getPlayerName(activePlayers[1]) .. ' is the final survivor!', 0, 255, 0) end end and then comment or remove rankingboard function DestructionDerby:handleFinishActivePlayer(player) -- Update ranking board for player being removed if not self.rankingBoard then --self.rankingBoard = RankingBoard:create() --self.rankingBoard:setDirection( 'up', getActivePlayerCount() ) end --local timePassed = self:getTimePassed() --self.rankingBoard:add(player, timePassed) -- Do remove finishActivePlayer(player) -- Update ranking board if one player left local activePlayers = getActivePlayers() if #activePlayers == 1 then -- self.rankingBoard:add(activePlayers[1], timePassed) showMessage(getPlayerName(activePlayers[1]) .. ' is the final survivor!', 0, 255, 0) end end thanks it works
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