11.11.2012, 06:58
1>take a variable like
new IsTenSecCompleted=0;
2>and then inside the command (/text)
if(IsTenSecCompleted==0)
{
//command codes
IsTenSecCompleted=1;
}
and now make a simple 10 second timer to make it back to 0
like
if(IsTenSecCompleted==1)
{
IsTenSecCompleted=0;
}
new IsTenSecCompleted=0;
2>and then inside the command (/text)
if(IsTenSecCompleted==0)
{
//command codes
IsTenSecCompleted=1;
}
and now make a simple 10 second timer to make it back to 0
like
if(IsTenSecCompleted==1)
{
IsTenSecCompleted=0;
}