[CSGO] Simple Clantag Changer

Release your plugins here!
Junior Member
Posts: 6
Joined: Sat Jun 20, 2015 5:21 pm

[CSGO] Simple Clantag Changer

Postby silviogreuel » Wed Dec 28, 2016 11:06 pm

Changes clangtag

Type in chat:
!clan newclan
.clan newclan


Create a file in:

Copy paste script to clantag.py

Load plugin adding sp plugin load clantag or type manualy on server console

Syntax: Select all

from commands.say import SayCommand
from cvars import ConVarFlags
from cvars.public import PublicConVar
from plugins.info import PluginInfo
from players.entity import Player

info = PluginInfo()
info.name = "clantag"
info.author = "Silvio Greuel <silviogreuel@gmail.com>"
info.version = "0.0.1"
info.basename = "clantag"
info.variable = "{}_version".format(info.basename)
info.convar = PublicConVar(info.variable, info.version, "{} Version".format(info.name), ConVarFlags.NONE)

@SayCommand(['!clan', '.clan'])
def porra_cmd(command, playerindex, teamonly):
player = Player(playerindex)
player.clan_tag = command.arg_string

Return to “Plugin Releases”

Who is online

Users browsing this forum: No registered users and 2 guests