Raised This Month: $12 Target: $400
 3% 

[REQ] Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sevrajol
Member
Join Date: Feb 2010
Old 08-01-2010 , 18:30   [REQ] Plugin
Reply With Quote #1

I user search button but i don`t find a plugin like that !I need a plugin for my server !When Terorists win the round to hear a sound and when Counter win the round to hear another sound !One sound for every team when the round is finish !I have two sounds twins.mp3 and ctwins.mp3 or wav you decide !Sorry for my english !

Last edited by sevrajol; 08-01-2010 at 18:32.
sevrajol is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-02-2010 , 01:21   Re: [REQ] Plugin
Reply With Quote #2

http://forums.alliedmods.net/showthr...und+end+sounds
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
sevrajol
Member
Join Date: Feb 2010
Old 08-02-2010 , 08:12   Re: [REQ] Plugin
Reply With Quote #3

I have this plugin
Quote:
//RoundSound.amxx -by PaintLancer

#include <amxmodx>

public plugin_init()
{
register_plugin("RoundSound","1.0","PaintLanc er")
register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")
register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")
}

public t_win()
{
new rand = random_num(0,2)

client_cmd(0,"stopsound")

switch(rand)
{
case 0: client_cmd(0,"spk misc/twinnar")
}

return PLUGIN_HANDLED
}

public ct_win()
{
new rand = random_num(0,2)

client_cmd(0,"stopsound")

switch(rand)
{
case 0: client_cmd(0,"spk misc/ctwinnar2")
}

return PLUGIN_HANDLED
}

public plugin_precache()
{
precache_sound("misc/ctwinnar2.wav")
precache_sound("misc/twinnar.wav")
return PLUGIN_CONTINUE
}
But after the round i don`t hear the sound why ?what i must to modify to this plugin ?
sevrajol is offline
Old 08-03-2010, 08:59
sevrajol
This message has been deleted by YamiKaitou. Reason: bump
Reply


Thread Tools
Display Modes

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 07:25.


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