A small translation of the "Hook Guide" posted by doidloko step by step:
Open your WarZ.sln
Search in WinMain.cpp
int win::ProcessSuspended()
Now you see
int win::ProcessSuspended()
{
if(!bSuspended)
return FALSE;
MSG msg;
while(PeekMessage(&msg, NULL,0,0,PM_NOREMOVE))
{...