Timer
#8

Ok got it working (loaded th old gm versionlol) New problem now is it just flash 1 not count down from 60 to 0

Код:
forward TimedCountdown();
public TimedCountdown() {
    if(iTimedCountdown == -1) {
        iTimedCountdown = 61;
    }
    
    new
        szMessage[10];

    iTimedCountdown--;
    format(szMessage, sizeof(szMessage), "~r~%d..."); // Add more in if you wish.
    
    GameTextForAll(szMessage, 950, 3);
    
    if(iTimedCountdown == 0) {
        KillTimer(rCountdownHandle);
    }
    return 1;
}
Reply


Messages In This Thread
Timer - by manchestera - 04.11.2011, 20:55
Re: Timer - by Speed - 04.11.2011, 20:57
Re: Timer - by =WoR=G4M3Ov3r - 04.11.2011, 20:59
Re: Timer - by manchestera - 04.11.2011, 21:04
Re: Timer - by =WoR=G4M3Ov3r - 04.11.2011, 21:09
Re: Timer - by Calgon - 04.11.2011, 21:13
Re: Timer - by manchestera - 04.11.2011, 21:30
Re: Timer - by manchestera - 04.11.2011, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)