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

Exclude Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   EKS (166)
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 01-12-2006 , 20:38   Exclude Chat
Reply With Quote #1

requested by roxbury (http://forums.alliedmods.net/showthread.php?t=23174).

this allows admins and users to send messages to everyone except for a specified player. it works as follows:

say /x playername message

everyone except for playername will see message. if xc_deadblock is set to 1 (default), alive players cannot see dead messages sent via this and vice-versa. say_team also works, just like you would expect it.

if xc_admins is 0 (default) then everyone can use this, otherwise it is just admins.

this should work for all mods, but it has only been tested in cs. there is also limited functionality (appears as Team 1, Team 2, etcetera, instead of actual team names, and is missing some colors).

example (while dead): say_team /x strongman that strongman is such a dork!
*DEAD*(Counter-Terrorist) Kraugh [ -StrongMan ] : that strongman is such a dork!

if xc_overseer is 1 (default) then admins with immunity can see all /x messages no matter what.
Attached Files
File Type: sma Get Plugin or Get Source (exclude_chat.sma - 1646 views - 2.7 KB)
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 01-12-2006 , 21:03  
Reply With Quote #2

lol, an admin only version of this would also be pretty nice where immunity hears EVERYONE no matter what (or by cvar)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 01-12-2006 , 22:15  
Reply With Quote #3

thanks, added.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-12-2006 , 22:20  
Reply With Quote #4

How do people like you come out of nowhere and code a plugin like this in like an hour?

i don't get it...I tried to learn PAWN a month or 2 ago, but i never quite got it...I need a teacher...thats it.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 01-12-2006 , 22:52  
Reply With Quote #5

text[256] << can't be that size or your will crash your server if the size goes above 191. I found this out when using std_admin_color_chat.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 01-12-2006 , 23:17  
Reply With Quote #6

thanks for pointing that out, teame06, i've fixed it.
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-12-2006 , 23:20  
Reply With Quote #7

Kraugh...wanna teach me how to make plugins?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Dirty DuMont
Member
Join Date: Jan 2006
Old 01-12-2006 , 23:48  
Reply With Quote #8

Comon bro, learning to script is a simple "Trial and error". I don't everything there is to know about coding and probably never will, but by trying out new stuff, you get to know it more and more. Thus you will then be able to make plugins like this one. BTW, nice plugin.
Dirty DuMont is offline
Send a message via AIM to Dirty DuMont
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-13-2006 , 00:20  
Reply With Quote #9

ANd alot of people goto school and learn much more than this and make this look extremely simple.

And nice plugin along with consistant positive additions.
__________________
bmann_420 is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 01-13-2006 , 03:15  
Reply With Quote #10

lol all my plugins come out as failures, DAMN YOU HERO MOD FOR LOWERING MY SELF ESTEEM! lol i'm still barely learnin java
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
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 20:00.


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