This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

HeadShot healer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Amxx-PluginCreator
BANNED
Join Date: Nov 2006
Location: Desktop
Old 01-20-2007 , 16:53   HeadShot healer
Reply With Quote #1

**HEAD SHOT HEALER**



What it does: This plugin will give you back HP everytime you make a headshot, on any player. It's really basic.


What you need: amxmodx and fun need to activated.


What game do I need:
Should work on all(not source).


What version: Currently 1.0.


What to except in future: Sounds, HUD message text, bonus speed.

This is my first plugin, so be nice

REPORT ALL BUGS AND ERRORS!!!


Attached Files
File Type: sma Get Plugin or Get Source (NEO_headshotheal.sma - 1247 views - 344 Bytes)

Last edited by Amxx-PluginCreator; 01-20-2007 at 17:09. Reason: To much space in text
Amxx-PluginCreator is offline
Amxx-PluginCreator
BANNED
Join Date: Nov 2006
Location: Desktop
Old 01-20-2007 , 17:02   Re: HeadShot healer
Reply With Quote #2

+Karma
If it works, if you don't want to it's ok(just figured since its my first plugin.)

COMMENTS WANTED
Amxx-PluginCreator is offline
Bo0m!
Veteran Member
Join Date: Mar 2006
Location: New Jersey
Old 01-20-2007 , 17:06   Re: HeadShot healer
Reply With Quote #3

1. Post the SMA.
2. This is already done here.
__________________
Bo0m! is offline
Send a message via AIM to Bo0m! Send a message via MSN to Bo0m! Send a message via Yahoo to Bo0m!
Amxx-PluginCreator
BANNED
Join Date: Nov 2006
Location: Desktop
Old 01-20-2007 , 17:08   Re: HeadShot healer
Reply With Quote #4

Ah, darn.

I'll still keep it up, becuase I'm going to add more.

POSTING SMA.
Amxx-PluginCreator is offline
John6000
Junior Member
Join Date: Nov 2006
Old 01-20-2007 , 18:30   Re: HeadShot healer
Reply With Quote #5

I like the idea behind this plugin! I hope it gets approved. =)
John6000 is offline
Amxx-PluginCreator
BANNED
Join Date: Nov 2006
Location: Desktop
Old 01-20-2007 , 18:32   Re: HeadShot healer
Reply With Quote #6

Thank you, if theres any errors tell me.
Amxx-PluginCreator is offline
s p l i t
Senior Member
Join Date: May 2006
Location: US, NC
Old 01-20-2007 , 19:31   Re: HeadShot healer
Reply With Quote #7

Its already been done as Bo0m! stated, plus it offers more.

Unapproved.

http://forums.alliedmods.net/showthread.php?t=11201

Last edited by s p l i t; 01-20-2007 at 19:34.
s p l i t is offline
Send a message via AIM to s p l i t Send a message via MSN to s p l i t
Sav
Junior Member
Join Date: Dec 2006
Old 01-24-2007 , 00:59   Re: HeadShot healer
Reply With Quote #8

since once again there being asses i think this is a great plugin good job
try using pcvars check out wat i added and let me knowwat you think i also added a help motd. if you look at the file path change the name the .txt file what eva you want
and then creat it in that path.

Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
new g_Switch
public plugin_init()
{
  register_plugin("Head Shot Healer" , "1.0" , "NeoFORT");
  register_event("DeathMsg" , "event_DeathMsg" , "a" ,  "1>0" , "2>0" , "3=1");
  g_Switch = register_cvar("Amx_hsheal", "1");
  register_concmd("say /heal help", "help_motd")
}
public event_DeathMsg()
{
 if(get_cvar_num(g_Switch))
 {
  new id = read_data(1); // changed 2 -> 1
  if(is_user_alive(id))
    set_user_health(id , 100);
    }
}
public help_motd(id)
{
 if(get_cvar_num(g_Switch))
  {
   show_motd(id, "addons\amxmodx\configs\hs_heal.txt", "Neo Headshot Healer")
  }
}
Sav is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode