Player::taskBleedingDeath

From RAGE Multiplayer Wiki
Revision as of 18:28, 25 December 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsFunction}} {{JSContainer| === Summary === Starts a bleeding death animation for the player, simulating a fatal injury. === Syntax === <syntaxhighlight lang="javascript"> player.taskBleedingDeath(); </syntaxhighlight> === Required Parameters === None === Return Value === * '''undefined''' === Example === <syntaxhighlight lang="javascript"> // Trigger bleeding death animation for the local player mp.players.local.taskBleedingDeath(); mp.gui.chat.push("Th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax


Summary

Starts a bleeding death animation for the player, simulating a fatal injury.

Syntax

player.taskBleedingDeath();

Required Parameters

None

Return Value

  • undefined

Example

// Trigger bleeding death animation for the local player
mp.players.local.taskBleedingDeath();
mp.gui.chat.push("The player is now bleeding to death.");


See Also