Jump to content

isPedBlood ?


Quited

Recommended Posts

You need to explain better because nobody understands you.

Okay

If i shot you with any weapons

and you bleed

this function check

i am blood or no ?

If I Bleed the blood you, you will be damage

If I not Bleed the blood you, you will be not damage

I think it should accept

and useful for laggers

Sorry, i am bad english

Edited by Guest
Link to comment
I'm sorry my brain gets hot when I read your posts. I can't help you. I hope someone else will understand you and try to help.

He means if someone is bleeding this function would return true because onPlayerDamage can be a bit laggy (I think)

Link to comment
Possible what?

I told you the event get trigger when YOU saw in YOUR SCREEN any player getting hit regardless he lost health or not.

This is up to you about what you going to do.

This is not who I'm talking about

and sorry i am not understand onClientPlayerDamage correct

i think it is suggestion (new event)

But Can MTA make that ?

Link to comment

You didn't understand, you are looking for a solution to those players whom don't lost health when you shot them, but they bleed in same time.

And i gives you the solution but maybe you didn't understand it or you don't want it or you want someone give you ready solution (copy + paste).

Link to comment
You didn't understand, you are looking for a solution to those players whom don't lost health when you shot them, but they bleed in same time.

And i gives you the solution but maybe you didn't understand it or you don't want it or you want someone give you ready solution (copy + paste).

yes i am looking for solution

you are looking for a solution to those players whom don't lost health when you shot them, but they bleed in same time.

but what solution ?

if solution about onClientPlayerDamage

i don't understand how to use onClientPlayerDamage in bleed players

and Can you understand me more about onClientPlayerDamage and how to use it for solution ?

(Note : this is not request for scripting :? )

Link to comment
TAPL already told you the "solution", but it seems like you don't understand ENGLISH at all, so, I suggest you to search for the section of your native language and ask there.

yes

if solution

The Event: onClientPlayerDamage is always get trigger when any player got damaged/bleed or whatever (IN YOUR SCREEN).

Thanks if is solution

Link to comment
  • Moderators

it is the solution or another solution is onClientPlayerWeaponFire...... that is what I use. To kill people who can't afford stable connection and fps.

  
addEventHandler ("onClientPlayerDamage",root, 
function (attacker) 
   if source ~= attacker then 
   end 
end) 
  

Link to comment
it is the solution or another solution is onClientPlayerWeaponFire...... that is what I use. To kill people who can't afford stable connection and fps.
  
addEventHandler ("onClientPlayerDamage",root, 
function (attacker) 
   if source ~= attacker then 
   end 
end) 
  

this is another solution ?

code server or client ?

and if this not working

there another ?

Link to comment
  • Moderators

There are two* event's that can give you this information.

"onClientPlayerDamage"

"onClientPlayerWeaponFire"

There is an third even on server side called onPlayerDamage, but that is more a delayed event from the "onClientPlayerDamage".

and no I am not going to make a full code, for somebody who don't even try to script.

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...