Raised This Month: $51 Target: $400
 12% 

Silent Nades .:silence is your friend:.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   VEN (29)
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 04-17-2007 , 08:58   Silent Nades .:silence is your friend:.
Reply With Quote #1

Silent Nades


Quote:
/********************************************* *************************************
* Author: regalis ([email protected])
*
* Version: 1.0
*
*
* Description:
* This plugin removes the message "Fire in the hole" and the sound "Fire in the hole" for every nade.
* Every player can for himself choose if he want to hear/read the Nade-Sounds/Messages by simple client-commands
* Thats all
*
*
* CVARS:
* -amx_snilentnades 1|0 (1 = enabled | 0 = disabled)
* -amx_sn_mode 0|1|2 (0 = S:OFF M:OFF | 1 = S:OFF M:ON | 2 = S:ON M:OFF)
*
*
* Console-Commands available for admins:
* -amx_sntoggle - Toggles Silent-Nades ON|OFF
* -amx_snmode - Toggles between the 3 Silent-Nades Modes (S:ON M:OFF | S:OFF M:ON | S:OFF M:OFF)
*
*
* Commands available for each player:
* say "/fithmsg" to toggle Nade-messages ON/OFF
* say "/fithsnd" to toggle Nade-sounds ON/OFF
* say "/fith" for an info message on how to enable/disable the sounds/messages
*
*
* Changelog:
* V0.1.0
* @Release
*
* V0.2.0
* +Added CS:CZ support, requested and suggested by mogel and Ryu2877
*
* V0.2.5
* +Added Client commands so that everyone can choose for himself if want to hear/read the Nade-sounds/messages
* +Added a welcome-message with the client command to get help
* +Added a help-message which displays info on how to enable/disable the sounds/messages
*
* V0.3.0
* +Added Admin commands to disable/enable the whole plugin
* +Added Admin commands to toggle between 3 modes:
* 1. Sound: ON / Messages: OFF
* 2. Sound: OFF / Messages: ON
* 3. Sound: OFF / Messages: OFF
*
*
* V0.3.5
* +Added ShowSyncHudMsg() support
* +Added set_user_info() support for saving settings even after roundstart|reconnect
*
* V1.0
* !Optimized code a little
* @Got approved and therefore changed Version to 1.0
*
*
* Known Bugs:
* -NONE-
*
*
* TODO:
* +Add a procedure to save the player preferences so they will not be cleared on changelevel or reconnect.
*
*
* Credits:
* Angelina for the initial idea to make this plugin!
* mogel and Ryu2877 for giving me the hint to adjust the argument number to 6 for CS:CZ support
* VEN for the idea that everyone should be able to enable/disable the Messages/Sounds for himself
* "Message Logging 1.17" by Damaged Soul VERY usefull!!! *omg*
* http://wiki.alliedmods.net/Main_Page
* http://www.amxmodx.org/doc/
*
********************************************* **************************************/
.
.
.
Have fun and enjoy the silence ;)
greetz regalis
.
.
All views: 34

Attached Files
File Type: sma Get Plugin or Get Source (silent_nades.sma - 7896 views - 10.7 KB)
__________________

Last edited by regalis; 05-14-2007 at 09:38. Reason: NEW Version 1.0 uploaded
regalis is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:04.


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