bool Game = false;
void INGAME()
{
int timer;
int lasttimer = 0x00;
for(;
{
timer = *(int*)(0x1213800 + 0x74C);
if (timer == lasttimer || timer == 0x00)
{
Game = false;
sleep(1000);
}
else
{
lasttimer = timer;
Game = true;
}
sleep(150);
}
}
#region inGame
public static bool Dvar_GetBool(string DVAR)
{
bool State;
uint Value = (uint)RPC.Call(0x4C7BF0, DVAR);
if (Value == 1)
State = true;
else
State = false;
return State;
}
public static Boolean cl_inGame()
{
bool es;
if (Dvar_GetBool("cl_ingame") == true)
{
es = true;
}
else
{
es = false;
}
return es;
}
#endregion
bool Game = false;
void INGAME()
{
int timer;
int lasttimer = 0x00;
for(;
{
timer = *(int*)(0x1213800 + 0x74C);
if (timer == lasttimer || timer == 0x00)
{
Game = false;
sleep(1000);
}
else
{
lasttimer = timer;
Game = true;
}
sleep(150);
}
}
create_thread(INGAME, 0x4AA, 0x100, "CL_Ingame");
void CL_ingame()
{
Game = true;
while (Game == true)
{
timer = ReadInt32(0x1213800 + 0x74C);
if (timer == lasttimer)
{
Game = false;
}
else
{
lasttimer = timer;
Game = true;
}
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.