Raised This Month: $ Target: $400
 0% 

Ambience sound xyz rounds


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
pewex
Senior Member
Join Date: Dec 2010
Location: AlliedMods
Old 12-29-2012 , 15:26   Ambience sound xyz rounds
Reply With Quote #1

Hello, i have this plugin:

Code:

#include <amxmodx>
    
new const AmbienSound[] = "zombie_plague/round_start5.wav";

public plugin_precache () 
{
    precache_sound( AmbienSound );
}

public plugin_init () 
{
    register_plugin( "Ambience Sound", "0.1",  "DeeKeiD" );
    register_logevent( "OnRoundStart", 2, "1=Round_Start" );
}

public OnRoundStart()
{
    client_cmd( 0, "spk %s", AmbienSound );
}  
How to edit this plugin, so:

  • plugin played, ambience sound only: ONE ROUND on map (RANDOM ROUND).
Please edit

Last edited by pewex; 12-29-2012 at 15:27.
pewex 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 13:27.


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