Пользователь
- Сообщения
- 2
- Реакции
- 0
ребят помогите найти плагин
#include <amxmodx>
new const MUSIC_FILE[] = "sound/You_music.mp3";
public plugin_precache() {
register_plugin("Music on connect", "0.0.1", "wopox1337");
precache_sound(MUSIC_FILE);
}
public client_connect(id)
client_cmd(id, "mp3 play %s", MUSIC_FILE);
public client_putinserver(id)
client_cmd(id, "mp3 stop");
#include <amxmodx>
#define PLUGIN "Server Welcome"
#define VERSION "1.0"
#define AUTHOR "Code RaFa"
#define SOUND "jsmg/joinserver.mp3"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public plugin_precache()
{
precache_sound(SOUND)
}
public client_putinserver(id)
{
set_task(1.0, "soundd", id)
}
public soundd(id)
{
new music[64]
format(music, 63, "mp3 play sound/%s", SOUND)
client_cmd(id, music)
}
#include <amxmodx>
#define PLUGIN "Welcom"
#define VERSION "1.0"
#define AUTHOR "AsEkE"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public plugin_precache()
{
precache_sound("misc/aseke.mp3"); //Путь трека, поддерживается только mp3.
}
public client_putinserver(id)
{
set_task(0.2, "Welcom", id);
return PLUGIN_HANDLED;
}
public Welcom(id)
{
client_cmd(id, "mp3 play sound/misc/aseke"); //Путь трека
}