Raised This Month: $ Target: $400
 0% 

Music at round start.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr.Noobie
BANNED
Join Date: Apr 2009
Old 09-19-2009 , 04:56   Music at round start.
Reply With Quote #1

Can someone make me music plugin ?

when the room is make the music will play ?
Mr.Noobie is offline
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-19-2009 , 05:07   Re: Music at round start.
Reply With Quote #2

Try
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Music at start"
#define VERSION "1.0"
#define AUTHOR "GmTx"

#define START_SOUND    "buttons/bell1.wav"    

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""Event_HLTV_New_Round""a""1=0""2=0")
}

public 
plugin_precache() 
{
    
precache_sound(START_SOUND)


public 
Event_HLTV_New_Round(id)
{
    
client_cmd(id"spk %s"START_SOUND )


Last edited by GmTx; 09-19-2009 at 05:19. Reason: ops i miss something
GmTx is offline
Send a message via Skype™ to GmTx
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 08:18.


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