SetPedBleeding

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20935):
This function allows you to set player's or ped's bleeding effect.

Syntax

bool setPedBleeding( ped thePed, bool bleeding ) 

OOP Syntax Help! I don't understand this!

Method: ped:setBleeding(...)
Variable: .bleeding
Counterpart: isPedBleeding

Required Arguments

  • thePed: The player or ped whose bleeding effect you want to set of.
  • bleeding: Boolean specifying whether the player or ped is bleeding or not.

Returns

Returns true if the bleeding state was successfully set, false otherwise.

Example

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

Before submitting check out Editing Guidelines Script Examples.


Requirements

Minimum supported server version n/a
Minimum supported client version 1.5.8-9.20935

Note: Using this function/event requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.20935" />

See Also

* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20935):
* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20935):
* FEATURE ADDED IN 1.5.9 (BETA: 1.5.8 r20740):