# CreateHeroForPlayer
handle CreateHeroForPlayer(string_1, handle_2)
# Class
✔️ Server: Global
❌ Client: undefined
# Function Description
Creates a DOTA hero by its dota_npc_units.txt name and sets it as the given player's controlled hero
# Parameters
Type | Name | Description |
---|---|---|
string | string_1 | No Description Set |
handle | handle_2 | No Description Set |