Raised This Month: $ Target: $400
 0% 

Vocom Admin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
toazron1
Senior Member
Join Date: Oct 2006
Old 01-14-2007 , 13:39   Vocom Admin
Reply With Quote #1

VocomAdmin
Version: 1.3
Platform: AMX-X 1.76
Tested: Win32, Linux - AMX Mod X 1.76c

Requires:
fakemeta

Description:
This plugin allows admins (who have the required access level) to bind a key to +adminvoice and chat via
vocom to other admins, regular players (or admins who don't have the required listen level) can not hear the voice chat.

Usage:
Bind a key to +adminvoice

Credit:
This plugin is based off the idea by KCE (http://www.nsmod.org/forums/index.php?s=&s...indpost&p=23204)
and Zor (http://forums.alliedmods.net/showthread.php?t=2400).
The modified code snipplet comes from watch (http://forums.alliedmods.net/showpost.php?...898&postcount=9) who's idea on
how to get around the set_client_listening() bug, made this plugin possible.

Change Log:
v0.1 - v0.8 - Basic plugin functionality coded.
v0.9 - Added abilitiy to define what admin level you want for talk/listen
v1.0 - inital release
v1.1 - fixed non admins being able to see chat
v1.2 - fixed people being able to see "is talking to admin" by non admins.
v1.3 - fixed admin level problems by checking it once and storing it.
v1.4 - removed some unneeded thiings and cleaned up code


NOTE: Theoretically this should work for all mods, it is not NS specific, although I only tested it on NS
Attached Files
File Type: sma Get Plugin or Get Source (vocomadmin.sma - 2996 views - 3.7 KB)
__________________

Last edited by toazron1; 01-14-2007 at 14:54.
toazron1 is offline
Send a message via AIM to toazron1
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-14-2007 , 14:06   Re: Vocom Admin
Reply With Quote #2

Where is the .sma ?

EDIT. Found but you should attached .sma here.
__________________
Arkshine is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 01-14-2007 , 14:24   Re: Vocom Admin
Reply With Quote #3

Quote:
Originally Posted by arkshine View Post
Where is the .sma ?

EDIT. Found but you should attached .sma here.
my bad, it was uploaded but it didnt attach right. fixed
__________________
toazron1 is offline
Send a message via AIM to toazron1
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-14-2007 , 14:35   Re: Vocom Admin
Reply With Quote #4

Don't use get_maxplayers, use get_players instead.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
toazron1
Senior Member
Join Date: Oct 2006
Old 01-14-2007 , 14:55   Re: Vocom Admin
Reply With Quote #5

Quote:
Originally Posted by Hawk552 View Post
Don't use get_maxplayers, use get_players instead.
fixed also removed some unneeded things.

Don't try to develope two plugins off the same source or things get mixed
__________________
toazron1 is offline
Send a message via AIM to toazron1
diamond-optic
Veteran Member
Join Date: May 2005
Old 01-14-2007 , 18:51   Re: Vocom Admin
Reply With Quote #6

hmm some of my admins will def. like this..
__________________
diamond-optic is offline
FIF-PhoeniX
Member
Join Date: Jan 2007
Old 01-21-2007 , 17:03   Re: Vocom Admin
Reply With Quote #7

it seems I can only talk to other admins...how do i make so i can yell at camping n00bs...that arn't my admins? =P
__________________
FIF-PhoeniX is offline
s p l i t
Senior Member
Join Date: May 2006
Location: US, NC
Old 01-21-2007 , 19:50   Re: Vocom Admin
Reply With Quote #8

Quote:
Originally Posted by FIF-PhoeniX View Post
it seems I can only talk to other admins...how do i make so i can yell at camping n00bs...that arn't my admins? =P
Dont use the same key you have bound to +adminvoice. Use the default +voicerecord.
s p l i t is offline
Send a message via AIM to s p l i t Send a message via MSN to s p l i t
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-26-2007 , 15:57   Re: Vocom Admin
Reply With Quote #9

Quote:
Originally Posted by FIF-PhoeniX View Post
it seems I can only talk to other admins...how do i make so i can yell at camping n00bs...that arn't my admins? =P
Use this: http://forums.alliedmods.net/showthread.php?t=6749
or set sv_alltalk to 1.



This is a nice idea toazron1, think i know some people that would like it.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Old 01-21-2007, 17:10
Da_sk8rboy
This message has been deleted by Freecode. Reason: not here
Reply



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 23:35.


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