View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
shine771
Senior Member
Join Date: Jun 2007
Old 05-02-2009 , 11:46   Player Button Spy [0.7.1]
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (player_button_spy.sma - 2115 views - 10.0 KB)

Last edited by shine771; 06-25-2009 at 08:26.
shine771 is offline