Raised This Month: $ Target: $400
 0% 

[Roundstart Sound]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 01-22-2010 , 22:10   Re: [Roundstart Sound]
Reply With Quote #1

PHP Code:
#include <amxmodx>
 #include <amxmisc>

#define PLUGIN "Round start sound"
#define VERSION "1.0"
#define AUTHOR "EcKo"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("eventRoundend"2"1=Round_Start");

}
public 
eventRoundend()
{
    new 
rand random_num(0,2)

    
client_cmd(0,"stopsound")

    switch(
rand)
{
    case 
0client_cmd(0,"spk sicsounds/zombie_start")
    }
}
public 
plugin_precache() 
{
  
precache_sound("sicsounds/zombie_start.wav")

didn't work.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Reply



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 00:40.


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