#include <amxmodx>
public plugin_init() {
register_plugin("Wbil gracz", "1.1","Technik")
}
public client_authorized (id) set_task(5.0,"muz",id)
public muz(id) client_cmd(id, "mp3 play sound/misc/wbil.mp3")
public plugin_precache() precache_sound("misc/wbil.mp3")
Albo
/* Script generated by Pawn Studio */
#include <amxmodx>#include <amxmisc>#define PLUGIN "Dzwiek na start"
#define AUTHOR "Technik"
#define VERSION "1.0"
#define MUZYKA "misc/twoj_folder/twojanazwa.mp3"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id)
{
set_task(5.0, "Odtworz",id)
}
public Odtworz(id)
{
client_cmd(id,"mp3 play sound/%s", MUZYKA)
}
public plugin_precache()
precache_sound(MUZYKA)
jakie biblioteki do drugiego pluginu?
edit: juz jest dobrze