Reset
11-30-2004, 12:22 AM
Please someone help me find it! I've done the searches and i've found nothing!
I need a FPS hud for TRIBES 1Reset 11-30-2004, 12:22 AM Please someone help me find it! I've done the searches and i've found nothing! sublimezg 11-30-2004, 07:04 PM //File: FPS.cs //Credits: Cyclonite //Tells you your current frame rate function FPS::Create() { if(!$ConnectedToServer) { schedule("FPS::Create();", 1); return; } $FPSHud = newObject("FPS_Text", FearGuiFormattedText, 686, 28, 0, 0); addToSet(PlayGui, $FPSHud); FPS::Show("<F1>60"); } function FPS::Destroy() { deleteObject($FPSHud); } function FPS::Show(%message) { control::setVisible("FPS_Text", TRUE); control::setValue("FPS_Text", "<F1>" @ %message @ "<F1>fps"); schedule("FPS::Update();", 1); } function FPS::Update() { %fps = floor(floor($ConsoleWorld ::FrameRate)); FPS::Show(%fps); } function FPS::Hide() { control::setVisible("FPS_Text", FALSE); } Event::Attach(eventExit, FPS::Destroy); Event::Attach(eventConnec tionAccepted, FPS::Destroy); Event::Attach(eventConnec tionAccepted, FPS::Create); SuperSlug 11-30-2004, 11:13 PM ~showfps(); Rosco-SS 12-01-2004, 04:41 AM ya SuperSlug 12-02-2004, 06:44 PM Hey Rosco, may I have sad to your server again please? :) | ||