Saw a plugin that will knock somewhere that a new round has begun.
The solution "in the forehead" on the client.
As I know, when we turn off the game, and first die in it, then with each new round the mouse cursor moves on the screen in the coordinate 1 (x), 1 (y).
A crutch was written on AutoIT:
Anyone can also download the program in my blog:
autoIT minimized Counter-Strike window and a new round.
The code itself:
#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.8.1 Author: lampa Script Function: Check new round #ce ---------------------------------------------------------------------------- $process = WinGetHandle ("Counter-Strike"); ; проверка на активность приложения If ProcessExists ($process) == false Then MsgBox(0,0, 'hl.exe не запущен!') exit; EndIf ; получаем координаты мышки при старте $_COORD = MouseGetPos() ; в цикле проверяем, не переместилась ли резко мышь вверх влево while(1) If NOT BitAnd(WinGetState ($process), 16) Then Sleep(1000) ContinueLoop EndIf ; раз в 100 мс проверяем координаты мыши $_COORD_TMP = MouseGetPos() ; если координата top && left на 0 и предыдущая координата top && left <> 0, то If $_COORD_TMP[0] == 0 AND $_COORD_TMP[1] == 0 AND $_COORD[0] <> 0 AND $_COORD[1] <> 0 Then $_COORD = $_COORD_TMP; MsgBox(0,0, 'Новый раунд'); ElseIf $_COORD_TMP[0] <> 0 AND $_COORD_TMP[1] <> 0 AND $_COORD[0] == 0 AND $_COORD[1] == 0 Then $_COORD = $_COORD_TMP; EndIf Sleep(100) WEnd