View Single Post
Veteran Member
Join Date: Aug 2011
Old 01-13-2021 , 10:24   Re: [CSGO] Use team m_iClanID
Reply With Quote #2

Originally Posted by notMe2 View Post
Is it possible to use m_iClanID for custom purposes in my plugin or does it get overwritten by the game occasionally?
public Action:OnClientCommandKeyValues(client, KeyValues kv)
new String:SectionName[32];

if(KvGetSectionName(kv, SectionName, sizeof(SectionName)) && StrEqual(SectionName, "ClanTagChanged", false))
return Plugin_Handled;

return Plugin_Continue;

This code anywhere in your code will block changing the clan tag. This will NOT block CS_SetClientClanTag.
Accepting private work. Contact me if you're interested.
If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

Total Donated: 15$
eyal282 is offline