View Single Post
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 08-22-2017 , 16:09   Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Reply With Quote #6

Note: for some reason "return Plugin_Handled;" is necessary after doing a "ChangeClientTeam", otherwise the server crashes. I'm saying it because I tried doing "PbSetBool(msg, "show", false);" (which will make the team menu to not show) and then "return Plugin_Continue;", because idk if simply doing "return Plugin_Handled;" would lead to a future bug, but seems it's not possible to call "return Plugin_Continue;" after changing the client's team without crashing the server.
joao7yt is offline