CSGO: change team name

Please post any questions about developing your plugin here. Please use the search function before posting!
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

CSGO: change team name

Postby nullable » Wed Aug 12, 2015 5:17 am

Hello,

How can I to change team name in game?

Best Regards.
User avatar
satoon101
Project Leader
Posts: 2703
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Wed Aug 12, 2015 6:30 am

Both team names are accessible via the mp_teamname_1 and mp_teamname_2 ConVars.

*Off-topic: there are a number of threads you have created that are awaiting a response by you. If you have figured out your issues (whether with our help or on your own), could you please at least reply as such and let us know what fixed your issue. It may seem like a small thing, but it could easily help others in the future who encounter the same issues.
Image
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Thu Aug 13, 2015 5:41 am

Thanks. The problem has been resolved.

Example:

Syntax: Select all

from cvars import ConVar

# Convars
mp_team1_name = ConVar('mp_teamname_1')
mp_team2_name = ConVar('mp_teamname_2')

mp_team1_name.set_string('Team1 Name')
mp_team2_name.set_string('Team2 Name')

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 74 guests