AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Player Button Spy [0.7.1] (https://forums.alliedmods.net/showthread.php?t=91547)

shine771 05-02-2009 11:46

Player Button Spy [0.7.1]
 
1 Attachment(s)
Player Button Spy
[0.7.1]


- Description -

Basically all players are able to spy on other player buttons. It's useful for KZ. It'll help players to learn how to jump(strafe jump, long jump etc.). It's not just limited to KZ, you can use it for Soccerjam to learn tricks, for Surfing to learn how to surf etc. You can use this to make your Kreedz tutorial videos.

- Cvars -
Quote:

amx_pbspy_normal_color < 1 - 3 > < Color for buttons who aren't pressed > < Def: 1 >
amx_pbspy_pressed_color < 1 - 3 > < Color for buttons who're pressed. Both cvars must be different or you wont see any buttons pressed. > < Def: 3 >

/*
Colors:
1 - White - \w
2 - Yellow - \y
3 - Red - \r
*/
- Commands -
Quote:

amx_spy < name / userid > < Spy player. By changing the .sma you can limit this command to ADMINS ONLY >
amx_hltv_spy < name / userid > < Makes all HLTV spy on a player. By default user has to be an admin with ban flags to use this command. >

say /spy - Opens a menu with players you can choose to spy on.
- Notes -

[E] button was meant for soccerjam, but imo it won't bother you spying players in KZ/Surf or other mods.

- Screen Shots -

[IMG]http://img15.**************/img15/5462/buttonspy1.th.jpg[/IMG]

- Change Log -


Code:

0.7.0
* Initial Release
0.7.1
* Fixed the bug when 2 players are spying one player, if the spied player disconnects then the first one who started to spy would still have the Spymenu.
* Added a menu for players. It's accessable by typing /spy in chat.
* Added a new console command - amx_hltv_spy. It makes all HTLV's spy on a player.


crazyeffect 05-02-2009 11:49

Re: Player Button Spy
 
Cool :D

Simax 05-02-2009 11:58

Re: Player Button Spy
 
Nice job

One 05-02-2009 12:08

Re: Player Button Spy
 
this is awesome. GJ

Racoon 05-02-2009 12:22

Re: Player Button Spy
 
Does this work on any server? I mean not only on kz and soccerjam.

One 05-02-2009 12:29

Re: Player Button Spy
 
Quote:

Originally Posted by Racoon (Post 819432)
Does this work on any server? I mean not only on kz and soccerjam.

yea

xPaw 05-02-2009 12:44

Re: Player Button Spy
 
CTRL -> DUCK
SPACE -> JUMP
would be better :) becuase someone jumping from mwheel and ducking ;)

shine771 05-02-2009 12:59

Re: Player Button Spy
 
I thought of that making this. Still players like button names more than their names of actions they do pressing them. If there is going to be an 0.7.1 version, i will change that.

SchlumPF* 05-02-2009 13:24

Re: Player Button Spy
 
#define HANDLER_THINK_TIME 0.01
prethink is also called 100times per second but is more cpu friendly than a task.

i like your menu to display although you should test whats faster, a hudmessage or a menu.

ConnorMcLeod 05-02-2009 13:28

Re: Player Button Spy
 
Quote:

Originally Posted by SchlumPF* (Post 819476)
#define HANDLER_THINK_TIME 0.01
prethink is also called 100times per second but is more cpu friendly than a task.

This is not a task but a thinking ent.

You could alter the info_target classname and use register_think ;) (i agree the entity index check is not a big deal though)


All times are GMT -4. The time now is 18:51.

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