- Documentation
- Server functions
- setPedBleeding
Function
setPedBleeding
Turns a ped's bleeding on or off. A bleeding player leaves blood drops on the ground in their game while moving (like wounded peds in the game). Health does not drop from bleeding alone. For NPCs the value is stored for scripts and returned by isPedBleeding.
Syntax
bool setPedBleeding(ped ped, bool value)Arguments
pedped- A player or an NPC.
valuebooltrue= bleeding.
Returns
true on success.
Example
setPedBleeding(player, true)