Thread: [Solved] [CS:GO] Get Team Name
View Single Post
Author Message
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 03-13-2019 , 17:46   [CS:GO] Get Team Name
Reply With Quote #1

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?

Last edited by manicogaming; 03-19-2019 at 07:34.
manicogaming is offline