countdown - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: countdown (
/showthread.php?tid=374422)
countdown -
imosek - 02.09.2012
I'm trying to do countdown in OnPlayerUpdate...
i'm giving
Код:
new akill;
akill=SetTimer("UPD",1000,1)
if(odliczsek==0)
{
KillTimer(akill);
}
Код:
public UPD()
{
odliczsek=odliczsek-1;
}
and the time is going so speed instead like one second...
Re: countdown -
Misiur - 02.09.2012
The first block of code is OnPlayerUpdate?
https://sampwiki.blast.hk/wiki/OnPlayerUpdate read the eyerape colored box
Re: countdown -
imosek - 02.09.2012
yeah..onplayerupdate...
Re: countdown -
imosek - 02.09.2012
have somebody some ideas?