[Include] y_timers - Simple timer creation and load balancing.
#4

Yup
pawn Код:
timer wat[300](wut)

//Then
#define timer YSI_timer
//(...)
#define YSI_timer%0[%1]%3(%2) stock%0_yT@(%2)return _Timer_C(O@(#%0@_yT,(I@==-1)?(%1):I@,J@,_YT@CR:%2,,)0>%0|||%0|||(%2)

//Few steps later looks like
stock wat_yT@(wut)return _Timer_C(O@(# wat@_yT,(I@==-1)?(300):I@,J@,@Yf:@Yg:@Yf:@Yg:@Yh:#id#,J@,wut),0);@Yj: wat@_yT(__r,wut);public @Yj: wat@_yT(__r,wut){ wat(wut);} wat(wut)
Reply


Messages In This Thread
y_timers - Simple timer creation and load balancing. - by corne - 15.04.2015, 18:38
Re: y_timers - Simple timer creation and load balancing. - by iSkyline - 18.04.2015, 07:29
Re: y_timers - Simple timer creation and load balancing. - by dusk - 13.05.2015, 16:37
Re: y_timers - Simple timer creation and load balancing. - by Misiur - 14.05.2015, 16:45
Re: y_timers - Simple timer creation and load balancing. - by Patchwerk - 14.05.2015, 16:51
Re: y_timers - Simple timer creation and load balancing. - by Finn707 - 14.05.2015, 20:34
Re: y_timers - Simple timer creation and load balancing. - by Misiur - 15.05.2015, 09:16
Re: y_timers - Simple timer creation and load balancing. - by dusk - 20.05.2015, 18:56
Respuesta: y_timers - Simple timer creation and load balancing. - by Adoniiz - 31.05.2015, 23:23
Re: Respuesta: y_timers - Simple timer creation and load balancing. - by dusk - 01.06.2015, 16:32
Respuesta: Re: Respuesta: y_timers - Simple timer creation and load balancing. - by Adoniiz - 02.06.2015, 02:44
Re: y_timers - Simple timer creation and load balancing. - by andyandyy8 - 24.06.2015, 11:32
Re: y_timers - Simple timer creation and load balancing. - by andyandyy8 - 24.06.2015, 12:50
Re: y_timers - Simple timer creation and load balancing. - by Dodo9655 - 16.09.2016, 10:52
Re: y_timers - Simple timer creation and load balancing. - by RIDE2DAY - 19.12.2016, 17:15
Re: y_timers - Simple timer creation and load balancing. - by Crayder - 14.02.2017, 17:02
Re: y_timers - Simple timer creation and load balancing. - by Hansrutger - 22.06.2017, 16:51
Re: y_timers - Simple timer creation and load balancing. - by Chaprnks - 04.07.2017, 10:30
Re: y_timers - Simple timer creation and load balancing. - by wallee - 20.07.2017, 16:13
Re: y_timers - Simple timer creation and load balancing. - by Misiur - 20.07.2017, 16:19
Re: y_timers - Simple timer creation and load balancing. - by Dayrion - 20.07.2017, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)