Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <fun>
- public plugin_init() {
- register_plugin("Hpadd","1.0","AMD")
- register_event("DeathMsg", "umro", "ade");}
- public umro(){
- new attacker = read_data(1)
- if(is_user_alive(attacker))
- {
- set_user_health(attacker, get_user_health(attacker)+30);
- set_hudmessage(0, 255, 0, -1.0, 0.30, 0, 6.0, 3.0)
- show_hudmessage(attacker, "+30HP")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment