Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- save to file: \steamapps\common\dota 2 beta\game\dota\scripts\vscripts\core\coreinit.lua
- -- concept script by AveYo
- AutoDisconnectOnGameEnd = function(s)
- if SendToServerConsole then SendToServerConsole("disconnect") else SendToConsole("disconnect") end
- end
- ListenToGameEvent("dota_match_done_client", AutoDisconnectOnGameEnd, nil)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement