Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void otheresp::watemark() {
- const auto charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*abcdefghijklmnopqrstuvwxyz";
- static wchar_t buildDate[256];
- swprintf(buildDate, L"vsonyp0wer.cf FlowHook Build 1.37", __DATE__);
- static int len = std::wstring(buildDate).length();
- static bool bSleep = false;
- static int delayTime;
- static int pos = 0;
- if (pos > -1) {
- for (int i = 0; i < len; ++i) {
- if (i >= pos) buildDate[i] = charset[rand() % strlen(charset) - 1];
- }
- }
- if (!bSleep) {
- pos++;
- bSleep = true;
- delayTime = GetTickCount() + 50;
- if (pos == len) {
- pos = -1;
- delayTime += 500;
- }
- }
- else if (delayTime < GetTickCount()) {
- bSleep = false;
- }
- render::get().textgay(buildDate, 5, 10, g_cfg.menu.menu_theme[0], fonts[INDICATORFONT], HFONT_OFF_SCREEN);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement