08.12.2009, 02:12
I ran
and it prints
woot &&
woot &
woot &
woot &&
woot &&
woot &
woot &
woot &&
...
this puzzles me deeply, since the first time lolcat() get's called is with the direct quote "hehe" yet it shows "woot", I am so confused.
pawn Код:
main()
{
SetTimerEx("testing", 500, 0, "s", "woot");
SetTimerEx("lolcat", 1000, 0, "s", "hehe");
}
forward testing(string[])
public testing(string[])
{
new coolstring[100];
format(coolstring, sizeof(coolstring), "%s", string);
printf("%s &", coolstring);
SetTimerEx("lolcat", 1000, 0, "s", coolstring);
return 1;
}
forward lolcat(string[])
public lolcat(string[])
{
new coolstring[100];
format(coolstring, sizeof(coolstring), "%s", string);
printf("%s &&", coolstring);
SetTimerEx("testing", 1000, 0, "s", coolstring);
return 1;
}
woot &&
woot &
woot &
woot &&
woot &&
woot &
woot &
woot &&
...
this puzzles me deeply, since the first time lolcat() get's called is with the direct quote "hehe" yet it shows "woot", I am so confused.