Hello guys
I have this code and i want to know what is wrong ?
Can anyone help me ?
I have this code and i want to know what is wrong ?
Can anyone help me ?
#region ' Tick '
if (kmh < 2)
{
if (Conn.AFKTick == 60 == false)
{
Conn.AFKTick += 1;
}
}
else
{
if (Conn.AFKTick > 0)
{
Conn.AFKTick = 0;
}
if (Conn.IsAFK == true)
{
Conn.IsAFK = false;
}
}
#endregion
#region ' Warn '
if (Conn.AFKTick == 60)
{
if (Conn.IsAFK == false)
{
MsgPly("^7> > Bank bonus is disabled whilst your ^1AFK", Conn.UniqueID);
Conn.IsAFK = true;
}
}
#endregion
}
#endregion