Sim Lag Indicator

Written by: Headmaster
default
{
    touch_start(integer x)
    {
       float fps = llGetRegionFPS();
       
       if (fps < 30)
       {
           llSetText((string)fps + "REALLY BAD", <0,1,0>,1);
    }
     else if (fps < 40.0)
    {
        llSetText((string)fps + "Not Good", <0,1,0>,1);
    }
    else
    {
        llSetText((string)fps + "Sim OK", <0,1,0>,1);
    }
}


}

 

Category: