ApplyPlayerBlood

From GT-MP
Jump to: navigation, search
ApplyPlayerBlood
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

See also: ClearPlayerBloodDamage

Add blood to the player at the specified bone

Syntax

API.applyPlayerBlood(LocalHandle player, int boneIndex, float xRot, float yRot, float zRot, string woundType);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • boneIndex: parameter input should be in int type.
  • xRot: parameter input should be in float type.
  • yRot: parameter input should be in float type.
  • zRot: parameter input should be in float type.
  • woundType: parameter input should be in string type.

Usage example(s)

API.applyPlayerBlood(LocalHandle player, int boneIndex, float xRot, float yRot, float zRot, string woundType);


References