# SetCustomGameForceHero

void SetCustomGameForceHero(pHeroName)

# Class

✔️ Server: CDOTABaseGameMode
Client: undefined

# Function Description

Force all players to use the specified hero and disable the normal hero selection process. Must be used before hero selection.

# Parameters

Type Name Description
string pHeroName No Description Set