You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P_T is missing in the console log. If your schema doesn't work, go back and check that it's present in the console log (schema expects all defined fields to be present).
Here's your schema, please review the fields to make sure I didn't make a mistake.
You will definitely want to convert TeamID to something English. Check out the examples.
local hero = PlayerResource:GetSelectedHeroEntity(playerID)
-- Team string logic
local player_team = ""
if hero:GetTeam() == DOTA_TEAM_GOODGUYS then
player_team = "Radiant"
else
player_team = "Dire"
end
Console log: https://pastebin.com/GpQe0aAv
Settings.kv: https://pastebin.com/aRhNq3Jh
Schema.lua: https://pastebin.com/etmA5CQE
addon_game_mode.lua: https://pastebin.com/qtiLxA9Z
The text was updated successfully, but these errors were encountered: