Zabicie , Zabicie HS = HP
Fresh
16.02.2010
Witam.
Poszukuje pluginów:
- 35hp za Headshoota nam się odnawia
- 15hp za zwykłe zabicie.
Poszukuje pluginów:
- 35hp za Headshoota nam się odnawia
- 15hp za zwykłe zabicie.
DarkGL
16.02.2010
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "Home" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("DeathMsg", "DeathMsg", "a") } public DeathMsg() { new kid = read_data(1) //zabojca new hs = read_data(3) // HeadShot (1 == true) if(hs == 1 && is_user_alive(kid)){ set_user_health(kid,get_user_health(kid) + 35); } else if(is_user_alive(kid)){ set_user_health(kid,get_user_health(kid) + 15); } }
Użytkownik DarkGL edytował ten post 16.02.2010 16:42