FOnline Development > General Discussion

Reducing Timeout

(1/1)

Ras:
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

Ras:
 MEXAHOTABOP from #fodev help me

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

Navigation

[0] Message Index

Go to full version