Jump to content

ayuda al hacer un bind de skin me carga la vida


Recommended Posts

 

6 hours ago, aka Blue said:

function llenarAlCambiar(oldModel, newModel)
    if ( getElementType(source) == "player" ) then
        setElementHealth( source, 100 )
    end
end
addEventHandler("onElementModelChange", getRootElement(), llenarAlCambiar)


Esto debería funcionar. Recuerda que es lado server.

muchas gracias brooo solo tuve que borrar esto

setElementHealth( source, 100

te lo agradesco

Edited by AlanHornus
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...