Jump to content

FPS Scoreboard


MrXz

Recommended Posts

Posted (edited)

Hola, bueno tengo un problema con esto, quise modificar la columna del FPS, lo puse mas chico pero cuando inicio, se ve la tabla pero no marca los "FPS". ¿Cual es el Problema?

- NOTHING-

SOLVED

Edited by Guest
430x73.png
Posted

Que tabla se ve?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Para ver los FPS en el scoreboard. Lo que pasa es que lo puse mas chico para que no ocupe tanto espacio en el scoreboard y cuando inicio, no aparece nada.

430x73.png
Posted
local counter = 0 
local starttick 
local currenttick 
  
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 ) -- Aca pusiste "fps", pero el nombre de tu columna es "FPS". 
            counter = 0 
            starttick = false 
        end 
    end 
) 

Lee el comentario que puse.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

De nada.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

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