TextDraw Timers
#2

up

new timers=0;


on a command

SetTimer("texttimer",1000,1);




public texttimer(playerid)
{
new string[128];
switch(timers)
{
case 0:
{
strpack(string, "00.00");
TextDrawSetString(name, string);
timers++;
}
case 1:
{
strpack(string, "00.01");
TextDrawSetString(name, string);
rimers++;
return 1;
}
}
return 0;
}



and at last chase set a killtimer try this not test
Reply


Messages In This Thread
TextDraw Timers - by Code_Red - 29.07.2010, 07:16
Re: TextDraw Timers - by iJumbo - 29.07.2010, 07:59
Re: TextDraw Timers - by ikey07 - 29.07.2010, 08:26

Forum Jump:


Users browsing this thread: 2 Guest(s)