Countdown help!
#1

Can somebody help me to make a countdown which countsdown minutes and seconds and looks like this 1:60 in the server!
Reply
#2

Can anyone help me with this countdown
Reply
#3

Wrong Section!
Must be on Script Request topic.
Reply
#4

no problem and sorry for the wrong section thanks anyway
Reply
#5

Can you stop bumping?

pawn Код:
SetTimerEx("Countdown", 1000, false, "dd", playerid, 90);

forward Countdown(playerid, time);
public Countdown(playerid, time)
{
time--;
new str[16];
if(time%60)
format(str, 16, "%d:%d0", time/60, time%60);
else
format(str,16,"%d:%d",time/60,time%60);
GameTextForPlayer(playerid, str, 1100, 1);
if(time!=0)
SetTimerEx("Countdown", 1000, false, "dd", playerid, time);
else
{
//Timer is done. Do whatever you need to do.
}
}
Edit: Yes, this is a script request. I am not helping you. I am fulfilling your request. This is bad I think, here you go anyway. Next time try it yourself before you ask for help.
Reply
#6

Thanks sorry but i realy need it and didn't know how to do it.
Reply
#7

I did try and it didn't end well
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)