Author Topic: Reducing Timeout  (Read 3185 times)

Reducing Timeout
« on: September 27, 2012, 02:55:48 pm »
Maybe someone help me ;)
I need quickly something to do like this function:



if(drug.GetProtoId()==PID_YYY)
{
     cr.TimeoutBase[TO_SK_XXX]=__FullSecond+REAL_SECOND(10);
}


but must not add timeout but remove for value in parenthesis

Re: Reducing Timeout
« Reply #1 on: September 27, 2012, 09:43:36 pm »
 MEXAHOTABOP from #fodev help me

cr.TimeoutBase[TO_SK_XXX]=cr.TimeoutBase[TO_SK_XXX]-REAL_SECOND(10);