AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   SpecInfo (https://forums.alliedmods.net/showthread.php?t=55943)

ian.cammarata 06-02-2007 14:58

SpecInfo
 
13 Attachment(s)
SpecInfo v1.3.1
Jan 05, 2008

AGPLv3 - "This is a new license; it is based on version 3 of the GNU General Public License (GNU GPLv3), but has an additional term to allow users who interact with the licensed software over a network to receive the source for that program." - http://www.fsf.org/agplv3-pr

Description:
This plugin displays a list of spectators currently viewing the live player.
This list is visible to the living player as well as other players currently
spectating that player. Also spectators can see which movement commands the live player is using.


See it in Action:
Use the following link to find a server that's running this plugin:
http://www.game-monitor.com/search.p...&type=variable


Commands:
say /speclist : Toggle viewing list of spectators.
say /speckeys : Toggle viewing keys of player you are spectating.
say /spechide : Immune admins toggle whether or not they're hidden from list.
say /showkeys : View your own keys on screen while alive.


Cvars (First value is default):
si_enabled <1|0> : Enables all plugin functionality.

si_list_enabled <1|0> : Enables spectator list.
si_keys_enabled <1|0> : Enables spectator key view.
si_list_default <1|0> : Default on/off state for spec list when a client joins.
si_keys_default <1|0> : Default on/off state for key view when a client joins.

si_immunity <0|1> : Enables admin immunity; Admins won't show on spec list.

si_msg_r <45|...> : HUD message red value.
si_msg_g <89|...> : HUD message green value.
si_msg_b <116|...> : HUD message blue value.


Notes:
Make sure you place the specinfo.txt file in addons\amxmodx\data\lang


Supported Languages:
English (100%)
Spanish (100%) - Thanks to Mely for checking these.
German (63%) - Thanks [s]killer for this translation.
Czech (100%) - Thanks to FuGi for this translation.


Change Log:
Key (+ added | - removed | c changed | f fixed)


v1.3.1 (Jan 5, 2008)
f: Eliminated a bug introduced in 1.3 as well as the occasional index out of bounds error it caused.

v1.3 (Nov 21, 2007)
+: Command "/showkeys" to view your own keys.
c: Minor code optimizations.

v1.2 (Jul 14, 2007)
+: Command "say /spechide" for immune to toggle hidden state.
c: Lots of code optimizations.
f: Always showing keys even when disabled.
f: Hud messaged getting messed up when too many names are on the list. (No seriously, for real this time.)

Emp` 06-02-2007 17:54

Re: SpecInfo
 
Although this is quite same to this, I'll accept it as being different. Approval in a couple days so people can see it.

Alka 06-02-2007 18:39

Re: SpecInfo
 
Tested & works! Gj ^^ ...
Quote:

Originally Posted by Emp`
I'll accept it as being different

Yeah...are 2 plugins in 1 and the keylister is different :wink:

Lola 06-02-2007 19:41

Re: SpecInfo
 
This plugin works great!!! <3 Ian made this plugin at my request, and everyone who comes in the server loves it and asks where they can get it. Glad to see it's finally on the official amxx site. :up:

regalis 06-02-2007 20:27

Re: SpecInfo
 
Nice plugin ;)
Did the same for a mate a few weeks ago..but your style is much better!
But i found a little flaw...nothing serious ;)
Code:

set_task(0.05,"keys_update",_,_,_,"b")
You can set a task minimal to 0.1 everything below is converted to 0.1
greetz regalis

PS: and keep up the good work! ;)

FatalisDK 06-05-2007 12:23

Re: SpecInfo
 
lol...

Servak 06-06-2007 04:47

Re: SpecInfo
 
Screenshots?

Tartooob 06-06-2007 06:54

Re: SpecInfo
 
Quote:

Originally Posted by Servak (Post 486227)
Screenshots?

Thanks and Like he said, Some screenshots please :D ?

Hunter-Digital 06-07-2007 10:37

Re: SpecInfo
 
An ideea :mrgreen: :
If it's possible to make a full keyboard on screen that displays any keys that the player taps... a mouse would be nice to....
I would have modified it myself but I saw that it's actualy detecting the moving direction, not the key itself... :)

ian.cammarata 06-07-2007 14:06

Re: SpecInfo
 
Quote:

Originally Posted by Hunter-Digital (Post 486651)
An ideea :mrgreen: :
If it's possible to make a full keyboard on screen that displays any keys that the player taps... a mouse would be nice to....
I would have modified it myself but I saw that it's actualy detecting the moving direction, not the key itself... :)

I've had tons of people asking me for this, unfortunately, it's not possible. You can only detect what commands are being executed, or in the case of keys that are bound with a +, whether or not they are being held down, not the actual state of the keyboard keys themselves.


All times are GMT -4. The time now is 02:34.

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