setPedBleeding | Multi Theft Auto: Wiki Skip to content

setPedBleeding

Client-side
Server-side
Shared

Pair: isPedBleeding

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 allows you to set player's or ped's bleeding effect.

Syntax

setPedBleeding ( )

Code Examples

client

This example causes the player to bleed.

addCommandHandler("bleed", function()
setPedBleeding(localPlayer, not isPedBleeding(localPlayer))
end)

See Also