So I have a plugin that saves the scoreboard to a database but what it doesn't have is saving the team names, but I can't seem to figure out how to save the team names to the database.
I've tried:
Code:
GetTeamName(CS_TEAM_T, tname, sizeof(tname))
But that returns TERRORIST and not the name that is being set with mp_teamname.
I'm using
this plugin that sets the team logos and names automatically.
Any ideas on how I can get the name from mp_teamname?