[Help] Say() function and Hero Selection Remove
As the titles suggests, I'm trying to do two things.
When i use the "Say()" function it returns an error: [ W VScript ]: Script Runtime Error: scripts/vscripts/events.lua:340: attempt to index a nil value [ W VScript ]: stack traceback: [ W VScript ]: scripts/vscripts/events.lua:340: in function <scripts/vscripts/events.lua:337> [ W VScript ]: [C]: in function 'Say' [ W VScript ]: scripts/vscripts/events.lua:355: in function <scripts/vscripts/events.lua:337>
It works fine, shows the COnsole message to all players, but this log shows up in'game as a red text.
Also, I'm trying to find a way to have no hero picked to everyone, like removing the Hero Selection phase, and give a hero to a player in another situation.
What I have to do?