Raised This Month: $ Target: $400
 0% 

Sound problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mix97
Junior Member
Join Date: Aug 2011
Old 11-11-2011 , 07:40   Re: Sound problem
Reply With Quote #7

Quote:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#define MAX_PLAYERS 33

#define SOUND = "misc/drunkenninja.wav"

new PLUGIN[]="Mapend Sounds"
new AUTHOR[]="ntfs"
new VERSION[]="1.33"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("mapend_sounds", VERSION, FCVAR_SERVER)
set_task(1.0, "exec_sound", 0, "", 1, "d", 1)
register_cvar("amx_mapend_sounds_advert", "1")
}

public plugin_precache() {
precache_sound(SOUND);
}

public exec_sound()
{
client_cmd(0, "spk SOUND");
}
Not Tested.
Mix97 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 14:18.


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