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

get_speak - speak flag testing tool


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development       
Donillo
New Member
Join Date: Jun 2012
Location: Russia
Old 06-24-2012 , 12:10   get_speak - speak flag testing tool
Reply With Quote #1

Hi! I am written this simple tool for debugging when I found some problems with muting players from voicecomm on my own server

Purpose of this plugin is just show you "speak" flags from players (like as SPEAK_NORMAL, SPEAK_MUTED...).

Command is "amx_gs <nick/#userid>". Anyone can use this because it is harmless

Example of use:

Quote:
] amx_gs Player
Player's speak flag = 0 (SPEAK_NORMAL)
Requires Engine module for work (because it is using get_speak function).
Attached Files
File Type: sma Get Plugin or Get Source (get_speak.sma - 904 views - 1.3 KB)

Last edited by Donillo; 06-24-2012 at 12:13.
Donillo is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 06-24-2012 , 15:57   Re: get_speak - speak flag testing tool
Reply With Quote #2

and what about this ?
__________________
ANTICHRISTUS is offline
Donillo
New Member
Join Date: Jun 2012
Location: Russia
Old 06-25-2012 , 05:54   Re: get_speak - speak flag testing tool
Reply With Quote #3

I am already have AMXX GAG installed ;)

Last edited by Donillo; 06-25-2012 at 05:54.
Donillo is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 06-25-2012 , 06:17   Re: get_speak - speak flag testing tool
Reply With Quote #4

your thread is in the New Plugin Submissions sub-forum. so, that plugin has all the features of your plugin & better.
__________________
ANTICHRISTUS is offline
Donillo
New Member
Join Date: Jun 2012
Location: Russia
Old 06-25-2012 , 17:01   Re: get_speak - speak flag testing tool
Reply With Quote #5

AMXX Gag: allows you gag players from speaking and chatting.
get_speak: allows you to view technical details about speak flag of player.

Feel the difference ;)
I does not tried to write "yet another gag plugin", i wrote debugging tool for checking speak attributes of selected player.

Last edited by Donillo; 06-25-2012 at 17:04.
Donillo is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-02-2015 , 12:51   Re: get_speak - speak flag testing tool
Reply With Quote #6

Unapproved, please consider using charsmax() and copy native(or you can create an array to hold all strings, it will make your code a bit better and clean, even if trivial). Cvars to decide if only admins can use this are welcomed. You could also add description of what SPEACK_ are, for beginners. I know that the names are intuitive, but some people don't know well english or are not able to make deductions.
HamletEagle is offline
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 15:14.


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