Jump to content

[Ayuda] Con Health


~Funky~

Recommended Posts

Posted

Ya Deben Estar Cansado De Que Pida Ayuda :c, El Problema Que Tengo Es Que Ahora Quiero Que Un Jugador Recupere Vida Cada 5 Segundos Como Lo Puedo Hacer? o Que Funciones Debo Utilizar?

Posted
setTimer ( function() 
            local players = getElementsByType("player") 
            for k, thePlayer in ipairs(players) do 
                setElementHealth(thePlayer, getElementHealth(thePlayer)+10) 
            end 
        end, 1000, 1 ) 

  • Recently Browsing   0 members

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