IsPedBleeding

From Multi Theft Auto: Wiki
Revision as of 12:34, 31 August 2021 by StrixG (talk | contribs) (Created page with "{{Client function}} __NOTOC__ {{New feature/item|3.0159|1.5.8|20935|This function gets the state of a player's or ped's bleeding effect.}} ==Syntax== <synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

bool isPedBleeding( ped thePed ) 

OOP Syntax Help! I don't understand this!

Method: ped:isBleeding(...)
Variable: .bleeding
Counterpart: setPedBleeding


Required Arguments

  • thePed: the player or ped whose bleeding effect state you want to get.

Returns

Returns true if the player or ped is bleeding, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function IsPedBleeding needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


Requirements

This template will be deleted.

See Also