Raised This Month: $344 Target: $400
 86%   Almost there!

[Cs:Go] Clan tag checker ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheDiamant953
Member
Join Date: Jan 2013
Old 10-26-2015 , 14:32   [Cs:Go] Clan tag checker ?
Reply With Quote #1

Hello,

I'm searching a fonction for make a little plugin.

I have a clan tag plugin that delete clans tags and make some custom clan tags, i wan't to don't delete the clan tags for users who have the clan tag of my steam groupe ( of my server ), but for that, i need a fonction for know what is the clan tag of the user, but i don't find it.

I want i single fonction like if clantag = "xxxx" so do nothing.

I don't find a solution.

Thanks.
TheDiamant953 is offline
joac1144
Senior Member
Join Date: Dec 2012
Location: Copenhagen, Denmark
Old 10-26-2015 , 16:24   Re: [Cs:Go] Clan tag checker ?
Reply With Quote #2

https://sm.alliedmods.net/new-api/cs...tClientClanTag
__________________
joac1144 is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 10-26-2015 , 16:38   Re: [Cs:Go] Clan tag checker ?
Reply With Quote #3

PHP Code:
char buffer[MAX_NAME_LENGTH];
CS_GetClientClanTag(clientbuffersizeof(buffer));
if(!
StrEquals(buffer"your desired clan tag")) { CS_SetClientClanTag(client"your desired clan tag"); } 
Darkness_ is offline
TheDiamant953
Member
Join Date: Jan 2013
Old 10-27-2015 , 14:55   Re: [Cs:Go] Clan tag checker ?
Reply With Quote #4

Quote:
Originally Posted by joac1144 View Post
Quote:
Originally Posted by Darkness_ View Post
PHP Code:
char buffer[MAX_NAME_LENGTH];
CS_GetClientClanTag(clientbuffersizeof(buffer));
if(!
StrEquals(buffer"your desired clan tag")) { CS_SetClientClanTag(client"your desired clan tag"); } 
Thanks !!
TheDiamant953 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:53.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode