MrXz Posted June 10, 2012 Posted June 10, 2012 (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 June 11, 2012 by Guest
Castillo Posted June 10, 2012 Posted June 10, 2012 Que tabla se ve? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MrXz Posted June 10, 2012 Author Posted June 10, 2012 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.
Castillo Posted June 10, 2012 Posted June 10, 2012 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. Education is the most powerful weapon which you can use to change the world.
MrXz Posted June 10, 2012 Author Posted June 10, 2012 Oh, no me habia dado cuenta de eso, muchas gracias SolidSnake14
Castillo Posted June 10, 2012 Posted June 10, 2012 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts