Plugin DeathMatch.HE za zabicie przeciwnika.
marek69x
02.09.2011
Witam. Więc poszukuję pluginu ,aby każdy gracz po zabiciu przeciwnika otrzymywał granata he.
Za pomoc plusiki.
@Refresh
Za pomoc plusiki.
@Refresh
Fajled
02.09.2011
Masz tutaj: http://amxx.pl/topic...pisze-znajdzie/
W cvarach czy ma HE dawać po każdym zabiciu czy np. jest szansa 1/3.
W cvarach czy ma HE dawać po każdym zabiciu czy np. jest szansa 1/3.
mierzwi 02.09.2011
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <fakemeta_util> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new const g_szPrefix[] = "[PREFIX]"; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("DeathMsg", "eventPlayerDeath", "a"); // Add your code here... } public eventPlayerDeath() { new iKiller = read_data(1); new iVictim = read_data(2); if(get_user_team(iKiller) != get_user_team(iVictim)) { fm_give_item(iKiller, "weapon_hegrenade"); client_print(iKiller, print_chat, "%s Dostales He Grenade za zabicie wroga!", g_szPrefix); } return PLUGIN_CONTINUE; }