Jump to content

isPedBlood ?


Quited

Recommended Posts

Posted

This function is useful for laggers

when player blood

The Function Checks Are player blood ?

if true (Player blood) , player will Damaged

if false (player not blood) , player will not damaged

Posted (edited)
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
Posted

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.

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

Tell me, what words which not understand :cry:

Posted
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)

Posted

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

yes

and check

if bleed (Ped will damage)

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

I've already told you ^^

If you can not understand it, i am sorry but scripting isn't for you.

Posted

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.

Posted
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 ?

Posted

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

Posted
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 :? )

Posted

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.

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

Castillo is right, just ask for help HERE.

Posted
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

  • Moderators
Posted

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) 
  

Posted
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 ?

  • Moderators
Posted

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.

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