Jump to content

Solved!


Black2

Recommended Posts

Posted

Try this :

local screenW2,screenH2 = guiGetScreenSize() 
local resW2, resH2 = 1366,768 
local x, y =  (screenW2/resW2), (screenH2/resH2) 
local counter = 0 
local starttick 
local currenttick 
local currFPS = 60 
  
  
  
addEventHandler("onClientRender",root, 
    function() 
        if not starttick then 
            starttick = getTickCount() 
        end 
        counter = counter + 1 
        currenttick = getTickCount() 
        if currenttick - starttick >= 1000 then 
            setElementData(localPlayer,"FPS",counter) 
            currFPS = counter 
            counter = 0 
            starttick = false 
        end 
         
        local time = getRealTime() 
        local hours = time.hour 
        local minutes = time.minute 
        dxDrawText("Hours: "..hours..":"..minutes.."FPS: "..currFPS.."  Ping: "..getPlayerPing( localPlayer ), x*1050, y*9, x*276, y*39, tocolor(255, 255, 255, 255), 1.1, "default-bold") 
end) 
        

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

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...