Thread: Voice Adverts
View Single Post
Author Message
Cep}|{
Member
Join Date: Nov 2009
Old 08-13-2010 , 17:02   Voice Adverts
Reply With Quote #1

Voice Adverts

Description:

Playing voice adverts\messages to all players.

Cvars:

sm_voiceadverts_version - Plugin version
sm_voiceadverts - Enable\Disable this plugin. Default: "1"
sm_voiceadverts_time - Duration between voice adverts (in seconds). Default: "300"

Installation:

1. Place your sound files in the 'sound/voiceadverts/' folder on server.
2. Create config file "va_sound_list.cfg" in the 'addons/sourcemod/configs/', example:
Code:
voiceadverts/c1.mp3
voiceadverts/c2.mp3
voiceadverts/c3.mp3
voiceadverts/c4.mp3
voiceadverts/c5.mp3
voiceadverts/c6.mp3
voiceadverts/c7.mp3
voiceadverts/c8.mp3
voiceadverts/c9.mp3
3. Upload the plugin in the 'addons/sourcemod/plugins/' folder and change map or restart server.
Attached Files
File Type: sp Get Plugin or Get Source (voiceadverts.sp - 2891 views - 3.2 KB)
__________________

Last edited by Matthias Vance; 08-20-2010 at 11:58. Reason: Added public CVAR.
Cep}|{ is offline