1.1 --- a/plugins/include/timers.inc Wed May 02 02:13:15 2007 +0000
1.2 +++ b/plugins/include/timers.inc Wed May 02 02:15:45 2007 +0000
1.3 @@ -46,7 +46,7 @@
1.4 * @return Plugin_Stop to stop a repeating timer, any other value for
1.5 * default behavior.
1.6 */
1.7 - Action:public(Handle:timer, value),
1.8 + Action:public(Handle:timer, any:value),
1.9
1.10 /**
1.11 * Called when the timer interval has elapsed.
1.12 @@ -67,7 +67,7 @@
1.13 * @param flags Flags to set (such as repeatability or auto-Handle closing).
1.14 * @return Handle to the timer object. You do not need to call CloseHandle().
1.15 */
1.16 -native Handle:CreateTimer(Float:interval, Timer:func, {Handle,_}:value=INVALID_HANDLE, flags=0);
1.17 +native Handle:CreateTimer(Float:interval, Timer:func, any:value=INVALID_HANDLE, flags=0);
1.18
1.19 /**
1.20 * Kills a timer. Use this instead of CloseHandle() if you need more options.
1.21 @@ -99,7 +99,7 @@
1.22 * @param flags Timer flags.
1.23 * @return Handle to the timer object. You do not need to call CloseHandle().
1.24 */
1.25 -stock Handle:CreateDataTimer(Float:interval, Timer:func, &Handle:data, flags)
1.26 +stock Handle:CreateDataTimer(Float:interval, Timer:func, &Handle:data, flags=0)
1.27 {
1.28 data = CreateDataPack();
1.29 flags |= TIMER_HNDL_CLOSE;