Witam.
Poszukuje pluginów:
- 35hp za Headshoota nam się odnawia
- 15hp za zwykłe zabicie.
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Zabicie , Zabicie HS = HP
Started By Fresh, 16.02.2010 16:26
1 reply to this topic
#1
Posted 16.02.2010 16:26
#2
Posted 16.02.2010 16:40
/* 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); } }
Edited by DarkGL, 16.02.2010 16:42.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users