.:HyPeX:. Posted July 19, 2014 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? My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Et-win Posted July 19, 2014 Posted July 19, 2014 Maybe it is in mapmanager, but I'm totally not sure. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
.:HyPeX:. Posted July 19, 2014 Author Posted July 19, 2014 I dont belive RaceMode is from mapmanager... still cant find RaceMode anywhere. My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
Et-win Posted July 19, 2014 Posted July 19, 2014 Located in map modes/base.lua ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
.:HyPeX:. Posted July 19, 2014 Author Posted July 19, 2014 Thaaaaanks!!! My ingame nick is ~HyPeX~ BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager
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