Skip to content

Scripts for beginners.

#201
Auto-translated
Gerter
SetPlayerHeroesCountNotForHire(player_id, number_to_reduce_the_standard_number_of_heroes_by)
, something like that.

I tried this function, but I don't understand how it works: it's not clear where the standard number of heroes comes from; I even set it to 1000, and I could still hire as many heroes as I wanted.

Added after 15 hours and 31 minutes
Could someone explain or provide an example of how the SetPlayerHeroesCountNotForHire function works?