Jump to content

Alguém sabe como deixa o personagem sangrando?


Recommended Posts

  • Other Languages Moderators

Exemplo: (client-side)

function BloodDamage ()
    local x, y, z = getElementPosition (localPlayer) -- Obtém a posição do jogador.
    fxAddBlood (x, y, z, 0, 0, 0, math.random (1, 3), 1) -- Cria o sangue na posição do jogador, aleatório de 1 a 3 gotas por vez.
end
addEventHandler ("onClientRender", root, BloodDamage)

 

  • Thanks 1
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...