ProHunter Posted March 23, 2013 Posted March 23, 2013 (edited) Removed Edited June 1, 2013 by Guest =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scripter: [30%] Mapper: [50%] Race DM Maps Skill: [90%] - Some Of My Scripts: - [Race] Top Time System: viewtopic.php?f=108&t=56789 - [Race] Hide Cars System: viewtopic.php?f=108&t=56788 - [Race\RPG] Radio System: viewtopic.php?f=108&t=56486 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Castillo Posted March 23, 2013 Posted March 23, 2013 If I'm right, it has been asked before, search on the scripting section. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
ProHunter Posted March 25, 2013 Author Posted March 25, 2013 (edited) . Edited June 1, 2013 by Guest =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scripter: [30%] Mapper: [50%] Race DM Maps Skill: [90%] - Some Of My Scripts: - [Race] Top Time System: viewtopic.php?f=108&t=56789 - [Race] Hide Cars System: viewtopic.php?f=108&t=56788 - [Race\RPG] Radio System: viewtopic.php?f=108&t=56486 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sora Posted March 25, 2013 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. [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
~DarkRacer~ Posted March 28, 2013 Posted March 28, 2013 This topic was solved before in the Scripting Section. https://forum.multitheftauto.com/viewtopic.php?f=91&t=55291
Sora Posted March 28, 2013 Posted March 28, 2013 after saving the file , you just need to restart the race resource . [REL] Resource Starter System v1.3 [REL] Give Permissions Panel v1.4 [REL] Meta Creator 1.1 ( In-game MetaCreator ) [REL] ACL Permission Manager 1.0 [REL] Accounts Security Manager 1.1 Name(s) in-game : old |S.s|SoRa, current : *Sora
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