state("t7x", "blackops3") { int levelTime : "blackops3.exe", 0xA5502C0; int round : "blackops3.exe", 0xA55BDEC; string13 currentMap : "blackops3.exe", 0x940C5E8; } update { if(old.round == 0 && current.round == 1) { game.WriteValue((IntPtr)vars.addr, (UInt16)current.levelTime); vars.fixedOffset = current.levelTime; } vars.trueTime = current.levelTime - vars.fixedOffset; } gameTime { string[] arrayMaps = { "zm_zod", "zm_factory", "zm_castle", "zm_island", "zm_stalingrad", "zm_genesis", "zm_prototype", "zm_asylum", "zm_sumpf", "zm_theater", "zm_cosmodrome", "zm_temple", "zm_moon", "zm_tomb" }; if(Array.IndexOf(arrayMaps, current.currentMap) == -1 || current.round == 0) { return TimeSpan.Zero; } return new TimeSpan(0, 0, 0, 0, vars.trueTime * 50); } init { refreshRate = 100; vars.addr = game.MainModule.BaseAddress + 0xA; vars.fixedOffset = game.ReadValue((IntPtr)vars.addr); } start { return true; } isLoading { return true; }