Raised This Month: $ Target: $400
 0% 

[Roundstart Sound]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 01-22-2010 , 23:54   Re: [Roundstart Sound]
Reply With Quote #1

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

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

public 
eventRoundend()
{
    new 
numplayers[32],player
    get_players
(players,num,"ch")
    for(new 
i=0;i<num;i++)
    {
        
player players[i]
        
client_cmd(player,"spk sound.wav")
    }
}

public 
plugin_precache() 
{
    
precache_sound("sound.wav")

worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
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