Raised This Month: $32 Target: $400
 8% 

Clan Chat (Current Version: 2.0)


Post New Thread Reply   
 
Thread Tools Display Modes
flintridge
Member
Join Date: Nov 2005
Old 01-23-2006 , 11:50  
Reply With Quote #11

Well i wish i could at least get that lol..

I get nothing other than talking to my self..
flintridge is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 01-23-2006 , 20:41  
Reply With Quote #12

I'll take a look at it sometime tommorow, but I'm busy now.
I doubt Infra still comes here, since he lasted posted in this thread on May 1, 2005, and the thread was 9 months old.
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-23-2006 , 21:01  
Reply With Quote #13

Code:
/* AMXMODX script. * * Made by: Infra * Current Version: 2.0 * * This file is provided as is (no warranties). * * -=[ AMX Clan Chat ]=- * * Cvars: * --------- * *   amx_cc_clan -> contains your clan's name *    * * Usage: * --------- * *   Console commands: * *      amx_clanchat <message> * *         and * *      clanChat <message> * *   Also (Team Chat): * *         say_team "^<message>" * *      Or in team chat: *    *         ^<message> * *   Also (optional): * *      Tell all of your clanmates, even those who can't have admin chat, to bind a key to: * *       "messagemode clanChat" * *      Like so: *    *         bind "<key>" "messagemode clanChat"    * * Note: Make sure to change the amx_cc_clan cvar to the name of your clan *     your clan (including tags if you wish...) * *     For instance, my clans name is [CI]. So, I make the cvar this: * *      amx_cvar amx_cc_clan "CI" * * *     Or to make it permanent, add this line to your amxx.cfg file: *    *      amx_cc_clan "CI" * * Changelog: * --------- * *   2.0: Fixed bug where clanChat messages would be displayed to all players *        Revamped plugin to conform to command format in the adminchat plugin *   1.1: Added cvar for clan tag    *   1.0: First release * * Todo: * --------- * *   None * * */ #include <amxmodx> #include <amxmisc> public clanChat( id ) {     new players[32], numPlayers     new message[192]     new authid[16], name[32]     new clanName[32]             // Get user's name     get_user_name(id, name, 31)         // Get message and remove quotes     read_args(message, 191)     remove_quotes(message)          // Get players currently on server     get_players(players, numPlayers)         // Get Clan Name     get_cvar_string("amx_cc_clan", clanName, 31)     //  (ADMINS) [CI]MooMooJr. :   yay      format(message, 192, "(%s) %s :   %s", clanName, name, message)         for(new i = 0; i < numPlayers; i++)     {         // If user has access, then print message for them         if( access(players[i], ADMIN_LEVEL_D) )         {             client_print(players[i], print_chat, message)         }     }         get_user_authid(id, authid, 15)         log_amx("Chat: ^"%s<%d><%s><>^" clan chat ^"%s^"",name, id, authid, message)     log_message("^"%s<%d><%s><>^" triggered ^"amx_clanchat^" (text ^"%s^")",name, id, authid, message)         return PLUGIN_CONTINUE } public commandChat ( id,level,cid ) {     if(!cmd_access(id,level,cid,2))     {         return PLUGIN_CONTINUE     }         new message[2]         read_argv(1,message,1)         if (message[0]!= '^^')     {         return PLUGIN_CONTINUE     }         clanChat( id )         return PLUGIN_CONTINUE } public commandConsole ( id,level,cid ) {     if(!cmd_access(id,level,cid,2))     {         return PLUGIN_HANDLED     }     clanChat( id )         return PLUGIN_HANDLED } public plugin_init() {     register_plugin("AMX Clan Chat", "2.0", "Infra")     register_cvar("amx_clan_chat", "2.0", FCVAR_SERVER)         // Console commands     register_concmd("clanChat","commandConsole",ADMIN_LEVEL_D,"<message>")     register_concmd("amx_clanchat","commandConsole",ADMIN_LEVEL_D,"<message>")         // Client commands     register_clcmd("say_team","commandChat",ADMIN_LEVEL_D,"^^<message> - displays message to clan members")             // Cvars     register_cvar("amx_cc_clan","<clan>")         return PLUGIN_CONTINUE }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
flintridge
Member
Join Date: Nov 2005
Old 01-25-2006 , 09:37  
Reply With Quote #14

is the above post a fix?

Also i noticed this

Quote:
register_concmd("amx_clanchat","commandConsol e",ADMIN_LEVEL_D,"<message>")
Does that mean i have to get every clan members steam id and give the admin level d access?
flintridge is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-25-2006 , 12:33  
Reply With Quote #15

It should fix it, I didn't test it though.

And you can change it something like ADMIN_CHAT or ADMIN_RCON or whatever.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
flintridge
Member
Join Date: Nov 2005
Old 01-27-2006 , 07:51  
Reply With Quote #16

i will try this tonight then when i get home from work
flintridge is offline
mustangman041
Junior Member
Join Date: Mar 2006
Old 03-24-2006 , 00:00  
Reply With Quote #17

ok obviously im a noob with this. I DLed it and i added my clan tag BUT nobody else can see or use it but me. They said i need to give them certain admin level but if i do that then they wil hve admin chat so no need for clan chat. Also after i installed it MM2 stopped working... Any help will be appreciated THANKS
mustangman041 is offline
mustangman041
Junior Member
Join Date: Mar 2006
Old 03-24-2006 , 00:02  
Reply With Quote #18

ok obviously im a noob with this. I DLed it and i added my clan tag BUT nobody else can see or use it but me. They said i need to give them certain admin level but if i do that then they wil hve admin chat so no need for clan chat. Also after i installed it MM2 stopped working... Any help will be appreciated THANKS
mustangman041 is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 04-20-2007 , 01:12   Re: Clan Chat (Current Version: 2.0)
Reply With Quote #19

Anyone still working on this plugin?? I too am having the same issues as mustangman041.
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 04-28-2007 , 13:52   Re: Clan Chat (Current Version: 2.0)
Reply With Quote #20

Quote:
Originally Posted by Gunny View Post
Anyone still working on this plugin?? I too am having the same issues as mustangman041.
Hehe, sorry but i guess not. Its more as a year ago for the last post. This plugin should be unapproved because it is also not working for me and neither for any other AMX user.
Maurice 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 03:03.


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