Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char* notifyTimerText[500];
- bool notifytimerLoop;
- if(notifytimerLoop) {
- Notify(notifyTimerText);
- }
- void NotifyWithTimer(char* msg) {
- int timeToWait = 5000; // 5000 = 5sec
- for(int timerWait; timerWait < timeToWait; timerWait++) {
- notifytimerLoop = 1;
- notifyTimerText = msg;
- }
- if(timerWait > timeToWait) {
- notifytimerLoop = 0;
- notifyTimerText = " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement