#include <amxmodx> #include <amxmisc> #include <csx> #define PLUGIN "HitNotify <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/naughty.gif' class='bbc_emoticon' alt='^^' /> " #define VERSION "1.0" #define AUTHOR "Sn!ff3r" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public client_damage(attacker,victim,damage,wpnindex,hitplace,TA) { new atakujacy[32], dostajacypodupie[32] get_user_name(attacker, atakujacy, 31) get_user_name(victim, dostajacypodupie, 31) if(TA == 0) { new rand = random_num(0,2) switch(rand) { case 0: client_cmd(0,"spk misc/au") case 1: client_cmd(0,"spk misc/au1") case 2: client_cmd(0,"spk misc/au2") } console_print(0, "%s przyjebal swojemu %s zabierajac %d obrazen", atakujacy, dostajacypodupie, damage) } } public plugin_precache() { precache_sound("misc/au.wav") precache_sound("misc/au1.wav") precache_sound("misc/au2.wav") }
czy przerobi mi ktos ten plugin zebym te dzwieki tylko ja słyszał a nie cały serwer ?