isPedBleeding | Multi Theft Auto: Wiki Skip to content

isPedBleeding

Client-side
Server-side
Shared

Pair: setPedBleeding

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function gets the state of a player's or ped's bleeding effect.

Syntax

isPedBleeding ( )

Code Examples

client
function checkBleeding ()
if isPedBleeding (localPlayer) then
outputChatBox ("The ped is bleeding!")
else
outputChatBox ("The ped is not bleeding!")
end
end
addCommandHandler ("checkbleed", checkBleeding)

See Also