.:HyPeX:. Posted July 19, 2014 Share Posted July 19, 2014 Hey guys, as far as i see, whenever a map ends, the race gamemode does: gotoState('EveryoneFinished') RaceMode.endMap() eg: function raceTimeout() if stateAllowsTimesUp() then gotoState('TimesUp') for i,player in pairs(g_Players) do if not isPlayerFinished(player) then triggerClientEvent("onServerWantShowCenterMessage",resourceRoot,false,"Time\'s up!") end end clientCall(g_Root, 'raceTimeout') TimerManager.destroyTimersFor("raceend") RaceMode.endMap() end end But i cannot find where the RaceMode.endMap function is defined inside the race, could someone help me? Link to comment
Et-win Posted July 19, 2014 Share Posted July 19, 2014 Maybe it is in mapmanager, but I'm totally not sure. Link to comment
.:HyPeX:. Posted July 19, 2014 Author Share Posted July 19, 2014 I dont belive RaceMode is from mapmanager... still cant find RaceMode anywhere. 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