I've tried changing the starting level in "npc_heroes_custom" using "level" however the hero didn't acquire the ability points from all those levels, only one ability point. I also dont know how to set a fixed respawn time.
Thanks in advance.
CDOTABaseGameMode:SetFixedRespawnTime( float flFixedRespawnTime )
Set a fixed delay for all players to respawn after.
YourGameModeEntity:SetFixedRespawnTime( 3 )
CDOTA_BaseNPC_Hero:HeroLevelUp( bool bPlayEffects )
Levels up the hero, true or false to play effects.
local startingLevel = 4
for i=1,startingLevel do