Raised This Month: $12 Target: $400
 3% 

TeamAttack Notifier


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Exolent[jNr] (178)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-03-2009 , 08:10   TeamAttack Notifier
Reply With Quote #1

TeamAttack Notifier




.: Description :.


Default cs teamattack message is only printed to teamates.
This plugin can print that message to every players, or only to admins



.: Cvars :.

  • amx_teamattack_notifier < 0/1/2 >
    Print mode :
    • 0 : Disabled
    • 1 : Print to all enemies and spectators
    • 2 : Print to admins


Note : Whatever the cvar value, messages are printed to all teamates.



Attached Files
File Type: sma Get Plugin or Get Source (teamattack_notifier.sma - 3245 views - 2.0 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-05-2009 at 06:43.
ConnorMcLeod is offline
matsi
Thinkosaur
Join Date: Sep 2006
Old 11-03-2009 , 09:29   Re: TeamAttack Notifier
Reply With Quote #2

Good job. This will be useful for admins.
matsi is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 11-04-2009 , 10:45   Re: TeamAttack Notifier
Reply With Quote #3

What's the point of this?

PHP Code:
get_players(iPlayersiNum)
{
     .......... 
Jon is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-04-2009 , 11:01   Re: TeamAttack Notifier
Reply With Quote #4

New coding style.
K thanks removed.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-04-2009 , 11:42   Re: TeamAttack Notifier
Reply With Quote #5

Nice
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 11-04-2009 , 16:08   Re: TeamAttack Notifier
Reply With Quote #6

Hmm, you check if player is an admin only at steam auth, but what if the player changes name ?
__________________
Hunter-Digital is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-04-2009 , 16:40   Re: TeamAttack Notifier
Reply With Quote #7

You mean, if few players play with same account, and that only 1 of them has admin access ?
I think in this case it won't be a problem, since they won't get any advantage.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 11-04-2009 , 16:42   Re: TeamAttack Notifier
Reply With Quote #8

[edit] no, he is talking about his non-steam servers where you lose admin when changing nick as beeing admin is bound to nick and password.


Nice idea, this way i see if there is an idiot attacking it's own team all the time.
__________________

Mordekay is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-04-2009 , 16:49   Re: TeamAttack Notifier
Reply With Quote #9

Quote:
Originally Posted by Mordekay View Post
Nice idea, this way i see if there is an idiot attacking it's own team all the time.
Or at roundstart.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 11-04-2009 , 22:43   Re: TeamAttack Notifier
Reply With Quote #10

Quote:
Originally Posted by Mordekay View Post
[edit] no, he is talking about his non-steam servers where you lose admin when changing nick as beeing admin is bound to nick and password.
Why do you assume I talk about my server or about non-steam servers ?
Per-nick access is a feature of amxx, doesn't have anything to do with steam or non-steam.

And no, connor, I am talking if an admin joins the server with a non-access name and then decides to change it then he can't see the messages... or how about the other way around, an admin plays with his name, changes name and still sees the messages... it's not a big deal, but anyway
__________________
Hunter-Digital 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 10:52.


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