static int time=0; static int randcolor = 0; if (GetTickCount() - 300 > time) { randcolor = D3DCOLOR_XRGB( rand()%255, rand()%255, rand()%255 ); time = GetTickCount(); } HUD_TEXT_TGL(x, cheat_state->_generic.vehicle_GodMod ? randcolor : color_chetnoe, "ГодМод" );