You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, October 20th 2010, 11:21pm

suche round end sound

suche ein round end sound plugin was leicht zu bearbeiten ist,da ich selbst bestimmen möchte was für Musik abgespielt wird ?
kennt einer solch ein plugin ? :kotzen:

General_V

Super Moderator

Posts: 961

Location: Mönchengladbach

Occupation: Brückenkranführer / Staplerfahrer

wcf.user.option.userOption53: Ja

  • Send private message

2

Wednesday, October 20th 2010, 11:56pm

Re: suche round end sound


3

Thursday, October 21st 2010, 12:27am

Re: suche round end sound

JA COOL DANKE; BIN JETZT ABER AUCH FÜNDIG GEWORDEN HIER AUF DER SEITE
http://www.rasch-clan.de/index.php?downloads-show-54 :right:

4

Thursday, October 21st 2010, 1:11am

Re: suche round end sound

ok muss doch auf das vom sourcemod zurück greifen da das andere plugin ein Server Absturz verursacht :beah:

5

Thursday, October 21st 2010, 1:42am

Re: suche round end sound

kann mir jemand helfen wie ich die sounds in die RoundSound++ sp. datei bekommen habe schon einiges versucht aber es läuft nicht wäre klasse wenn es einer erstellen könnte diese datei damit es läuft ..bekomme es nicht hin :O((

so sieht meine aus !!!


/* *
* ANTiCHRiST RoundSound++
* -------------------------
* Changelog
* changelog.txt
* Readme
* readme.txt
* Credits
* Old CS 1.6 Plugin
* by "PaintLancer"
* Thxs
* To NAT for his help!
* -------------------------
* by TanaToS aka ANTiCHRiST
*/
#include <sourcemod>
#include <sdktools>
#include <sdktools_sound>
#include <console>
#include <string>

#pragma semicolon 1

#define PLUGIN_VERSION "1.1.0"
#define MAX_FILE_LEN 256

new Handle:g_hEnabled = INVALID_HANDLE;
new bool:g_bEnabled = true;

public Plugin:myinfo = {
name = "RoundSound++",
author = "ANTiCHRiST",
description = "Plays a Sound at RoundEnd.",
version = PLUGIN_VERSION,
url = "http://passionfighters.de"
};

public OnPluginStart() {
CreateConVar("sm_roundsound_version", PLUGIN_VERSION, "RoundSound++ version.", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
g_hEnabled = CreateConVar("sm_roundsound_enable", "1", "RoundSound++ Enable/Disable CVar.", FCVAR_PLUGIN|FCVAR_NOTIFY);

HookEvent("round_end", EventRoundEnd);
HookConVarChange(g_hEnabled, CVarEnabled);
}

public OnMapStart()
{
decl String:tewin_snd1[MAX_FILE_LEN];
decl String:tewin_snd2[MAX_FILE_LEN];
decl String:tewin_snd3[MAX_FILE_LEN];
decl String:ctwin_snd1[MAX_FILE_LEN];
decl String:ctwin_snd2[MAX_FILE_LEN];
decl String:ctwin_snd3[MAX_FILE_LEN];

Format(tewin_snd1, sizeof(tewin_snd1), "sound/misc/ct4.mp3");
Format(tewin_snd2, sizeof(tewin_snd2), "sound/misc/ct5.mp3");
Format(tewin_snd3, sizeof(tewin_snd3), "sound/misc/ct6.mp3");
Format(ctwin_snd1, sizeof(tewin_snd4), "sound/misc/ct7.mp3");
Format(ctwin_snd2, sizeof(tewin_snd5), "sound/misc/ct10.mp3");
Format(ctwin_snd3, sizeof(tewin_snd6), "sound/misc/end1.mp3");
Format(ctwin_snd1, sizeof(tewin_snd7), "sound/misc/end6.mp3");
Format(ctwin_snd2, sizeof(tewin_snd8), "sound/misc/end10.mp3");
Format(ctwin_snd1, sizeof(ctwin_snd1), "sound/misc/end13.mp3");
Format(ctwin_snd2, sizeof(ctwin_snd2), "sound/misc/end24.mp3");
Format(ctwin_snd3, sizeof(ctwin_snd3), "sound/misc/end27.mp3");
Format(ctwin_snd1, sizeof(ctwin_snd4), "sound/misc/rend3.mp3");
Format(ctwin_snd2, sizeof(ctwin_snd5), "sound/misc/rend4.mp3");
Format(ctwin_snd3, sizeof(ctwin_snd6), "sound/misc/rend7.mp3");
Format(ctwin_snd1, sizeof(ctwin_snd7), "sound/misc/t1.mp3");
Format(ctwin_snd2, sizeof(ctwin_snd8), "sound/misc/t6.mp3");


if(FileExists(tewin_snd1) && FileExists(tewin_snd2) && FileExists(tewin_snd3) && FileExists(ctwin_snd1) && FileExists(ctwin_snd2) && FileExists(ctwin_snd3)) {
AddFileToDownloadsTable(tewin_snd1);
AddFileToDownloadsTable(tewin_snd2);
AddFileToDownloadsTable(tewin_snd3);
AddFileToDownloadsTable(tewin_snd4);
AddFileToDownloadsTable(tewin_snd5);
AddFileToDownloadsTable(tewin_snd6);
AddFileToDownloadsTable(tewin_snd7);
AddFileToDownloadsTable(tewin_snd8);
AddFileToDownloadsTable(ctwin_snd1);
AddFileToDownloadsTable(ctwin_snd2);
AddFileToDownloadsTable(ctwin_snd3);
AddFileToDownloadsTable(ctwin_snd4);
AddFileToDownloadsTable(tewin_snd5);
AddFileToDownloadsTable(ctwin_snd6);
AddFileToDownloadsTable(ctwin_snd7);
AddFileToDownloadsTable(ctwin_snd8);



PrecacheSound("misc/ct4.mp3", true);
PrecacheSound("misc/ct5.mp3", true);
PrecacheSound("misc/ct6.mp3", true);
PrecacheSound("misc/ct7.mp3", true);
PrecacheSound("misc/ct10.mp3", true);
PrecacheSound("misc/end1.mp3", true);
PrecacheSound("misc/end6.mp3", true);
PrecacheSound("misc/end10.mp3", true);
PrecacheSound("misc/end13.mp3", true);
PrecacheSound("misc/end24.mp3", true);
PrecacheSound("misc/end27.mp3", true);
PrecacheSound("misc/rend3.mp3", true);
PrecacheSound("misc/rend4.mp3", true);
PrecacheSound("misc/t1.mp3", true);
PrecacheSound("misc/t6.mp3", true);
PrecacheSound("misc/rend7.mp3", true);
}
else {
LogError("Not all sound files exists.");
LogError("Unload the Plugin.");
ServerCommand("sm plugins unload \"RoundSound++.smx\"");
}
}

public OnConfigsExecuted() {
if(GetConVarBool(g_hEnabled)) {
g_bEnabled = true;
}
else if(!GetConVarBool(g_hEnabled)) {
g_bEnabled = false;
}
else {
g_bEnabled = true;
LogError("False value plugin continued");
}
}

public CVarEnabled(Handle:convar, const String:oldValue[], const String:newValue[]) {
if(GetConVarBool(g_hEnabled)) {
g_bEnabled = true;
}
else if(!GetConVarBool(g_hEnabled)) {
g_bEnabled = false;
}
else {
g_bEnabled = true;
LogError("False value plugin continued");
}
}

public EventRoundEnd(Handle:event, const String:name[], bool:dontBroadcast) {
new rnd_sound = GetRandomInt(1, 3);
new ev_winner = GetEventInt(event, "winner");
if(g_bEnabled) {
if(ev_winner == 2) {
if(rnd_sound == 1) {
EmitSoundToAll("misc/ct4.mp3");
}
else if(rnd_sound == 2) {
EmitSoundToAll("misc/ct5.mp3");
}
else if(rnd_sound == 3) {
EmitSoundToAll("misc/ct6.mp3");
}
else if(rnd_sound == 4) {
EmitSoundToAll("misc/ct7.mp3");
}
else if(rnd_sound == 5) {
EmitSoundToAll("misc/ct10.mp3");
}
else if(rnd_sound == 6) {
EmitSoundToAll("misc/end1.mp3");
}
else if(rnd_sound == 7) {
EmitSoundToAll("misc/end6.mp3");
}
else if(rnd_sound == 8) {
EmitSoundToAll("misc/end10.mp3");
}
else {
LogError("Ramdom Sound CVar Error.");
}
}
else if(ev_winner == 3) {
if(rnd_sound == 1) {
EmitSoundToAll("misc/end13.mp3");
}
else if(rnd_sound == 2) {
EmitSoundToAll("misc/end24.mp3");
}
else if(rnd_sound == 3) {
EmitSoundToAll("misc/end27.mp3");
}
else if(rnd_sound == 4) {
EmitSoundToAll("misc/rend3.mp3");
}
else if(rnd_sound == 5) {
EmitSoundToAll("misc/rend4.mp3");
}
else if(rnd_sound == 6) {
EmitSoundToAll("misc/rend7.mp3");
}
else if(rnd_sound == 7) {
EmitSoundToAll("misc/t1.mp3");
}
else if(rnd_sound == 8) {
EmitSoundToAll("misc/t6.mp3");
}
else {
LogError("Ramdom Sound CVar Error.");
}
}
else {
LogError("No team has win the round.");
}
}
}

6

Thursday, October 21st 2010, 7:36am

Re: suche round end sound

ok habe was leichteres gefunden wo man nichts mehr ab ändern muss außer natürlich die Sounds :-D
http://addons.eventscripts.com/addons/view/RoundEndSounds

GeNeRaLbEaM

Professional

Posts: 1,456

Location: Krefeld

Occupation: Student

wcf.user.option.userOption53: Nein

  • Send private message

7

Thursday, October 21st 2010, 10:49am

Re: suche round end sound

hmm wieso die .sp datei verändern ist denn keine .cfg dabei ?
Wenn Du was abänderst in der .sp sollte Dir klar sein, dass Du Sie wieder kompilieren musst als .smx
Dies kannst Du lokal, auf Deinem root oder am besten auf der allied modders Seite machen.
LG
GeNeRaLbEaM

Wer Rechtschreibfehler findet, darf sie behalten.
SMACBANS.COM - WE PROTECT YOUR SERVER
Community based global cheater database. JOIN US TODAY !