Quote:
Originally Posted by notMe2
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.
__________________
I am available to make plugins for pay.
Discord: Eyal282#1334