View Single Post
Plugin Info:     Modification:          Category:         
Dark Style
BANNED
Join Date: Feb 2011
Location: Brazil
Old 10-30-2011 , 16:12   Advanced Block RTV
Reply With Quote #1

[IMG]http://img163.**************/img163/4531/63888648.png[/IMG]

[Description]
This plugin turn off the option rtv when a admin is online and isn't on the spectator team.

Original Post:
http://forums.alliedmods.net/showthread.php?t=145621

Why create another post?
I create this new post because the plugin have a bug and the original author is banned. The bug was this: if you leave a space before /rtv the plugin didn't work.

[Attention]
If you have GALILEO installed in your server and the version is above 1.2, you don't need this plugin...
If you have GALILEO installed in your server and the version is lower 1.2, you need to change the cvar:
Code:
// Indicates which say commands can be used to rock the vote.
gal_rtv_commands 3

(TO)

gal_rtv_commands 2
[Messages]
Warn for the players when a admin is on and say rtv.
Code:
[en]
[AMXX] There are admins on server, therefore you can't say rtv.
[bp]
[AMXX] Tem admins no server, por isso voce nao pode dizer rtv.
[es]
[AMXX] Tiene los administradores del servidor, por lo que no se puede decir rtv.
[de]
[AMXX] Es sind Admins auf dem Server, deswegen kann rtv momentan nicht genutzt werden.
[sr]
[AMXX] Imaju Admini na Serveru, zato trenutno rtv nemoze da se koristi.
[fr]
[AMXX] La commande rtv est inactive lorsqu'il y'a des admins sur le serveur.
[bg]
[AMXX] Ima administratori v servera i zatova ne moje da polzvate rtv.
[hu]
[AMXX] A szerveren van admin, ezert nem tudsz rtvzni!
[tr]
[AMXX] Serverda Admin Oldugu Icin RTV Komutu Gecersiz.
[pl] 
[AMXX] Na serwerze sa admini, wiec nie mozesz uzyc komendy rtv.
[ro]
[AMXX] Sunt admini pe acest server, nu poti folosi RTV.
[Cvars]
PHP Code:
// 1 active, 0 disables
amx_block_rtv <or 0
[RTV Messages Block]
You can add in the file advanced_block_rtv.ini more things, default:
Code:
; Advanced Block RTV
; Maximun Caracteres: 300

rtv
/rtv
.rtv
rockthevote
/rockthevote
.rockthevote
rock the vote
/rock the vote
.rock the vote
[Instaling]
- Put the file advanced_block_rtv.ini in: amxmodx/configs/
- Put the file advanced_block_rtv.txt in: amxmodx/data/lang/
- Put the file advanced_block_rtv.amxx in: amxmodx/plugins/
- Open the file amxmodx/configs/plugins.ini and write advanced_block_rtv.amxx

[Modules]
- Cstrike.

[Credits]
MMYTH - Original Plugin;
GalegO - Related bug plugin;
Dark Style(me) - Fixed bug at the plugin.

[Translations]

[Changelog]
Code:
0.0.1b 	- 	Fixed some bugs and test it.
0.0.2 	- 	Optmized functions.
0.0.3 	- 	Optmized functions,
Added a new and better form to get admin on.
Attached Files
File Type: ini advanced_block_rtv.ini (154 Bytes, 355 views)
File Type: sma Get Plugin or Get Source (advanced_block_rtv.sma - 995 views - 2.2 KB)
File Type: txt advanced_block_rtv.txt (918 Bytes, 294 views)

Last edited by Dark Style; 11-11-2011 at 06:40. Reason: Version 0.0.3
Dark Style is offline