Jump to content

AJUDA HEADSHOT


Recommended Posts

Crie um recurso com o código abaixo em cliente, desative o recurso headshot também.

addEventHandler("onClientPlayerDamage", root, function(attacker, damage_causing, bodypart, loss)
	if bodypart == 9 then
		setElementHealth(source, getElementHealth(source) - 30)
	end
end

 

Link to comment

Cliente:

addEventHandler("onClientPlayerDamage", root, function()
	if bodypart == 9 then
		setElementHealth(source, getElementHealth(source) - 30)
	end
end

Meta:

<meta>
    <script src="client.lua" type="client" />
</meta>
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...