[ROZWIĄZANE] +10 hp za 1 kill
Najlepsza odpowiedź RasiaQ 26.12.2013 14:27
Vader
26.12.2013
Witam poszukuje pluginu, który za każde zabicie dodaje +10hp tylko zeby max hp to było 150
Dokładniej odradzamy sie zabijemy 5 graczy bez zgony i mamy 150 hp, zabijemy nastepnego mamy dalej 150
Bardzo potrzebuje tego pluginu, proszę o pomoc przepatrzyłem cały internet i nic, nie wiem moze zle szukam albo cos
Dam +++
vaulT 26.12.2013
#include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "Admin" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("DeathMsg", "Death", "ade"); } public Death() { new id = read_data(2); new attacker = read_data(1); if(!is_user_alive(attacker) || !is_user_connected(attacker)) return PLUGIN_CONTINUE; new zdrowie = get_user_health(attacker); if(get_user_team(id) != get_user_team(attacker)) { set_user_health(attacker, zdrowie+10); if(get_user_health(attacker) > 150) set_user_health(attacker, 150); } return PLUGIN_CONTINUE; }
GK4-GaMiNG KuSy
26.12.2013
Do jakiegoś pliku SMA Pomocy tutaj -->http://amxx.pl/topic...od/#entry596824
Najlepsza odpowiedź
RasiaQ
26.12.2013
Wgraj to i dopisz do plugins.ini w nowej linijce:
hpzakill.amxx