# 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.stormmodbase.stormdata/LibHDEH.galaxy:264

    }

    PlayerAddLabel(EventPlayer(), "Brushstalker");
    return true;
}

mods/heromods/malthael.stormmodbase.stormdata/LibHMTH.galaxy:101

    }

    PlayerAddLabel(lv_abathurPlayer, "HeroMalthael");
    return true;
}