# Player Add Label

FlagsNative | Action

Model aspects can be controlled based on which labels a player has.

# Arguments

  • int — player
  • string — label

Returns — void

native void PlayerAddLabel(int inPlayer, string inLabel);

Category: Player / Player Settings

# Examples

# mods/heromods/dehaka.stormmod

LibHDEH.galaxy

// L264
PlayerAddLabel(EventPlayer(), "Brushstalker")

# mods/heromods/malthael.stormmod

LibHMTH.galaxy

// L101
PlayerAddLabel(lv_abathurPlayer, "HeroMalthael")