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

csgo play sound on votemap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alexunder
Member
Join Date: Jun 2018
Old 08-14-2018 , 13:50   csgo play sound on votemap
Reply With Quote #1

hello guys
i need the server to play a sound in end of every last round when players see votemap.
can anyone help me to make it an EVENT ?
i dont know what it,s event get called.
Alexunder is offline
beastedout
Member
Join Date: Aug 2018
Old 08-17-2018 , 10:28   Re: csgo play sound on votemap
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=156974
beastedout is offline
Alexunder
Member
Join Date: Jun 2018
Old 08-23-2018 , 20:06   Re: csgo play sound on votemap
Reply With Quote #3

Quote:
Originally Posted by beastedout View Post
don't work , i just want to find event hook
Alexunder is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-23-2018 , 21:30   Re: csgo play sound on votemap
Reply With Quote #4

Quote:
Originally Posted by Alexunder View Post
don't work , i just want to find event hook
https://github.com/powerlord/sourcem...r_extended.inc

you can just use the forwards it provides
__________________
8guawong is offline
Alexunder
Member
Join Date: Jun 2018
Old 08-24-2018 , 08:23   Re: csgo play sound on votemap
Reply With Quote #5

Quote:
Originally Posted by 8guawong View Post
https://github.com/powerlord/sourcem...r_extended.inc

you can just use the forwards it provides
thanks for help , installed , don't work again .

my plugin :
Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <mapchooser>

public OnMapStart()
{
    AddFileToDownloadsTable("sound/advanced_noscop/001.mp3");
    PrecacheSound("*/music/001.mp3");
}  

public OnMapVoteStarted() {
PrintToChatAll("\x01 TEST")
EmitSoundToAll("*/music/001.mp3");
}
Alexunder is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 08-24-2018 , 14:35   Re: csgo play sound on votemap
Reply With Quote #6

Quote:
Originally Posted by Alexunder View Post
thanks for help , installed , don't work again .

my plugin :
Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <mapchooser>

public OnMapStart()
{
    AddFileToDownloadsTable("sound/advanced_noscop/001.mp3");
    PrecacheSound("*/music/001.mp3");
}  

public OnMapVoteStarted() {
PrintToChatAll("\x01 TEST")
EmitSoundToAll("*/music/001.mp3");
}
???? why you change that not in addons/sourcemod/configs/mapchooser_extended/sounds/tf.cfg thats really easy

and this here is more updatet: https://github.com/Totenfluch/source...ooser-extended
freak.exe_uLow is offline
Alexunder
Member
Join Date: Jun 2018
Old 08-25-2018 , 07:13   Re: csgo play sound on votemap
Reply With Quote #7

Quote:
Originally Posted by freak.exe_uLow View Post
???? why you change that not in addons/sourcemod/configs/mapchooser_extended/sounds/tf.cfg thats really easy

and this here is more updatet: https://github.com/Totenfluch/source...ooser-extended
i think this is plugin for TF2 , true ?
i want to make plugin for play music and ... , when vote map started ,
my server is CS:GO .
Alexunder is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 08-25-2018 , 07:52   Re: csgo play sound on votemap
Reply With Quote #8

Quote:
Originally Posted by Alexunder View Post
i think this is plugin for TF2 , true ?
i want to make plugin for play music and ... , when vote map started ,
my server is CS:GO .
so did the "Test" get printed with your test plugin?
__________________
8guawong is offline
Alexunder
Member
Join Date: Jun 2018
Old 08-25-2018 , 08:18   Re: csgo play sound on votemap
Reply With Quote #9

Quote:
Originally Posted by 8guawong View Post
so did the "Test" get printed with your test plugin?
no ! , my problem is the same
Alexunder is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 08-25-2018 , 11:30   Re: csgo play sound on votemap
Reply With Quote #10

Quote:
Originally Posted by Alexunder View Post
i think this is plugin for TF2 , true ?
i want to make plugin for play music and ... , when vote map started ,
my server is CS:GO .
no, thats for csgo...i use the same Plugin with a StartMap Sound, EndVote Sound and more
freak.exe_uLow is offline
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 20:35.


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