16 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 |
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
18 |
http://ian.cammarata.us |
http://ian.cammarata.us |
19 |
Jul 14 21:15 |
Nov 21 11:13 |
20 |
|
|
21 |
|
|
22 |
Description: |
Description: |
30 |
say /speclist : Toggle viewing list of spectators. |
say /speclist : Toggle viewing list of spectators. |
31 |
say /speckeys : Toggle viewing keys of player you are spectating. |
say /speckeys : Toggle viewing keys of player you are spectating. |
32 |
say /spechide : Immune admins toggle whether or not they're hidden from list. |
say /spechide : Immune admins toggle whether or not they're hidden from list. |
33 |
|
say /showkeys : View your own keys on screen while alive. |
34 |
|
|
35 |
|
|
36 |
Cvars (First value is default): |
Cvars (First value is default): |
61 |
Change Log: |
Change Log: |
62 |
Key (+ added | - removed | c changed | f fixed) |
Key (+ added | - removed | c changed | f fixed) |
63 |
|
|
64 |
v1.3 (Nov xx, 2007) |
v1.3 (Nov 21, 2007) |
65 |
+: Command "/showkeys" to view your own keys. |
+: Command "/showkeys" to view your own keys. |
66 |
c: Minor code optimizations. |
c: Minor code optimizations. |
67 |
|
|
88 |
#include <engine> |
#include <engine> |
89 |
#include <fakemeta> |
#include <fakemeta> |
90 |
|
|
91 |
#define VERSION "1.3b1" |
new const VERSION[ ] = "1.3" |
92 |
|
new const TRKCVAR[ ] = "grab_plus_version" |
93 |
#define IMMUNE_FLAG ADMIN_IMMUNITY |
#define IMMUNE_FLAG ADMIN_IMMUNITY |
94 |
|
|
95 |
#define KEYS_STR_LEN 31 |
#define KEYS_STR_LEN 31 |
114 |
public plugin_init( ) |
public plugin_init( ) |
115 |
{ |
{ |
116 |
register_plugin( "SpecInfo", VERSION, "Ian Cammarata" ) |
register_plugin( "SpecInfo", VERSION, "Ian Cammarata" ) |
117 |
register_cvar( "specinfo_version", VERSION, FCVAR_SERVER ) |
register_cvar( TRKCVAR, VERSION, FCVAR_SERVER ) |
118 |
set_cvar_string( "specinfo_version", VERSION ) |
set_cvar_string( TRKCVAR, VERSION ) |
119 |
|
|
120 |
p_enabled = register_cvar( "si_enabled", "1" ) |
p_enabled = register_cvar( "si_enabled", "1" ) |
121 |
p_list_enabled = register_cvar( "si_list_enabled", "1" ) |
p_list_enabled = register_cvar( "si_list_enabled", "1" ) |