avian960 Posted July 12, 2012 Posted July 12, 2012 How I Make On My Server: 46.120.180.191:22003 ================================================ How I Make: Only When All PLayers Die Its Change Map, Becose i am playing , and noobs die , and its change map evrey secound , how i change that only when all die ? HELP ME PLZ
GTX Posted July 12, 2012 Posted July 12, 2012 You must edit "modes/base.lua" in race file. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
BorderLine Posted July 12, 2012 Posted July 12, 2012 You must edit "modes/base.lua" in race file. no, you must edit modes/destuctionderby.lua. check this lines function DestructionDerby:onPlayerWasted(player) if isActivePlayer(player) then self:handleFinishActivePlayer(player) if getActivePlayerCount() <= 1 then -- change that 1 to 0 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() <= 1 then --- change 1 to 0 RaceMode.endMap() end end end and its done Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
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