• 0

probleme de plugins loadingsound


geronimo

Question

bonjour

voila en fait j'ai telecharger un plugins qui joue une music lors du chargement d'une map et aussi au telechargement donc le plugins en quetion s'apelle loadingsound et il a deja des music mais je voudrai bien mettre une music a moi je l'ai heberger sur le ftp j'y est mis le chemin de le .sma mais ca ne fontionne pas voici le .sma d'origine

--------------------------------------------------------------------------------------

/*

* Play a sound during the connection.

*

* Random code part taken from plugin

* connectsound by White Panther

*

* v1.0

*

*/

#include

#define Maxsounds 6

// sounds localized in gcf cache (valve/media)

// you can add more song if you want.

new soundlist[Maxsounds][] = {"Half-Life01","Half-Life02","Half-Life04","Half-Life12","Half-Life13","Half-Life17"}

public client_connect(id) {

new i

i = random_num(0,Maxsounds-1)

client_cmd(id,"mp3 play media/%s",soundlist)

return PLUGIN_CONTINUE

}

public plugin_init() {

register_plugin("Loading Sound","1.0","Amxx User")

return PLUGIN_CONTINUE

}

--------------------------------------------------------------------------------------

et voici comment je l'ai modifier j'ai essayer plein de maniere possible

--------------------------------------------------------------------------------------

/*

* Play a sound during the connection.

*

* Random code part taken from plugin

* connectsound by White Panther

*

* v1.0

*

*/

#include

#define Maxsounds 1

// sounds localized in gcf cache (hl1/czero/sound)

// you can add more song if you want.

new soundlist[Maxsounds][] = {"Theme - Mortal Kombat"}

public client_connect(id) {

new i

i = random_num(0,Maxsounds-1)

client_cmd(id,"mp3 play media/%s",soundlist)

return PLUGIN_CONTINUE

}

public plugin_init() {

register_plugin("Loading Sound","1.0","Amxx User")

return PLUGIN_CONTINUE

}

--------------------------------------------------------------------------------------

donc si quelqu'un pourai m'aider ce serai trop cool

merci d'avance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.