ApplyPlayerDamagePack

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

See also: ResetPlayerVisualDamage

Adds a collection of violations to the player.

Syntax

API.applyPlayerDamagePack(LocalHandle player, string damagePack, float damage, float mult);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • damagePack: parameter input should be in string type. See Damage Packs.
  • damage: parameter input should be in float type.
  • mult: parameter input should be in float type.

Usage example(s)

API.applyPlayerDamagePack(LocalHandle player, string damagePack, float damage, float mult);


References