[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4714: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4715: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4716: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
JoinUO Forums • View topic - callback function
Page 1 of 1

callback function

PostPosted: Tue Jan 05, 2010 3:37 pm
by xantier

Re: callback function

PostPosted: Tue Jan 05, 2010 3:46 pm
by xantier
Ah sry i think i have understood.. Argument 2 is the timer that calls 3. argument callback function..

Re: callback function

PostPosted: Tue Jan 05, 2010 5:49 pm
by Batlin
As you already guessed for callback the second parameter is a delay/timer expresed in seconds.

There is also a function shortCallback, that takes a tick as 2nd parameter. One tick being 0.25 seconds.