Raised This Month: $32 Target: $400
 8% 

Error on shaman


  
 
 
Thread Tools Display Modes
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 06-11-2006 , 15:20  
#11

change 139-158 to
Code:
public Shaman_damage(id)
{
	if (!shModActive() || !is_user_alive(id)) return PLUGIN_CONTINUE

	new weapon, bodypart, attacker = get_user_attacker(id,weapon,bodypart)

	if ( is_user_alive(attacker) && id != attacker && gIsZombie[id] ) {
		if ( bodypart==HIT_HEAD && weapon!=CSW_HEGRENADE ) {
			shExtraDamage( id, attacker, 500, "Headshot" )
			client_print(id, print_center, "Your undead head has been blown off.")
			client_print(attacker, print_chat, "[SH] You killed an undead with a headshot.")
		}
		if ( weapon==CSW_HEGRENADE ) {
			shExtraDamage( id, attacker, 500, "Blown Up" )
			client_print(id, print_center, "Your undead body has been teared apart by a grenade.")
			client_print(attacker, print_chat, "[SH] You killed an undead with a grenade.")
		}
	}
	return PLUGIN_CONTINUE
}
tell me your results again...
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 


Thread Tools
Display Modes

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 03:36.


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