Jump to content

FPS


Recommended Posts

I want to add and FPS counter to this:

  
setTimer(function() 
    if getElementData(getLocalPlayer(), "logedin") then 
        guiSetText(statsLabel["zombieskilled"], "Zombies killed: "..getElementData(getLocalPlayer(), getElementData(statsLabel["zombieskilled"], "identifikation")));        
        guiSetText(statsLabel["headshots"], "Headshots: "..getElementData(getLocalPlayer(), getElementData(statsLabel["headshots"], "identifikation"))); 
        guiSetText(statsLabel["banditskilled"], "Bandits killed: "..getElementData(getLocalPlayer(), getElementData(statsLabel["banditskilled"], "identifikation"))); 
        guiSetText(statsLabel["murders"], "Murders: "..getElementData(getLocalPlayer(), getElementData(statsLabel["murders"], "identifikation"))); 
        guiSetText(statsLabel["blood"], "Blood: "..getElementData(getLocalPlayer(), getElementData(statsLabel["blood"], "identifikation"))); 
        guiSetText(statsLabel["zombies"], "Zombies (Alive/Total): "..(getElementData(getRootElement(), "zombiesalive") or 0).."/"..(getElementData(getRootElement(), "zombiestotal") or 0)); 
        guiSetText(statsLabel["temperature"], "Temperature: "..math.round(getElementData(getLocalPlayer(), getElementData(statsLabel["temperature"], "identifikation")), 2).."°C"); 
        guiSetText(statsLabel["humanity"], "Humanity: "..math.round(getElementData(getLocalPlayer(), getElementData(statsLabel["humanity"], "identifikation")), 2));     
        guiSetText(statsLabel["name"], "Name: "..getPlayerName(getLocalPlayer())); 
    end 
end, 2000, 0); 

FPS Above Zombies killed, how can I do this?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...