ProHunter Posted March 23, 2013 Share Posted March 23, 2013 (edited) Removed Edited June 1, 2013 by Guest Link to comment
Castillo Posted March 23, 2013 Share Posted March 23, 2013 If I'm right, it has been asked before, search on the scripting section. Link to comment
ProHunter Posted March 25, 2013 Author Share Posted March 25, 2013 (edited) . Edited June 1, 2013 by Guest Link to comment
Sora Posted March 25, 2013 Share Posted March 25, 2013 There is no resource called ("Auto - B") , it's just a modified race resource copy if you want to let the last player keep driving until he lose , follow this steps 1 - go into this path \mods\deathmatch\resources\[gamemodes]\[race]\race\modes 2 - open destructionderby.lua for editing 3 - find this function DestructionDerby:onPlayerWasted and replace it with 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 4 - also find this function DestructionDerby:onPlayerQuit , replace it with function DestructionDerby:onPlayerQuit(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 0 then RaceMode.endMap() end end end 5 - save the file , done. Link to comment
~DarkRacer~ Posted March 28, 2013 Share Posted March 28, 2013 This topic was solved before in the Scripting Section. https://forum.multitheftauto.com/viewtopic.php?f=91&t=55291 Link to comment
Sora Posted March 28, 2013 Share Posted March 28, 2013 after saving the file , you just need to restart the race resource . 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