Raised This Month: $ Target: $400
 0% 

tag mismatch on line 359


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 05-10-2010 , 13:27   tag mismatch on line 359
Reply With Quote #1

Code:
if(get_pcvar_num(amx_ok_bb_enable))
	{
		get_user_name(victimid,victimname,31)
		new healthtransfer = g_bhealth[victimid]/2
		if(healthtransfer < 1)
			healthtransfer = 1
		new healthloss = g_bhealth[victimid]/2.5
		if(get_pcvar_num(amx_ok_bb_cap_override))
		{
			g_bhealth[victimid] -= healthloss
			g_bhealth[killerid] += healthtransfer
			client_print(killerid,print_chat,"[OK] (%d)  +%d blood for killing %s.",g_bhealth[killerid],healthtransfer,victimname)
			client_print(victimid,print_chat,"[OK] (%d) -%d blood.",g_bhealth[victimid],healthloss)
			DisplayHud(victimid)
			DisplayHud(killerid)
		}
		else if(!get_pcvar_num(amx_ok_bb_cap_override))
		{
			if((g_bhealth[killerid] + healthtransfer) <= (get_pcvar_num(amx_ok_bb_cap)))
			{
				g_bhealth[victimid] -= healthloss
				g_bhealth[killerid] += healthtransfer
				client_print(killerid,print_chat,"[OK] (%d)  +%d blood for killing %s.",g_bhealth[killerid],healthtransfer,victimname)
				client_print(victimid,print_chat,"[OK] (%d) -%d blood.",g_bhealth[victimid],healthloss)
				DisplayHud(victimid)
				DisplayHud(killerid)
			}
			else
			{
				g_bhealth[killerid] = (get_pcvar_num(amx_ok_bb_cap))
				client_print(killerid,print_chat,"[OK] You could not gain any more Blood, because your current bank is full(%d)!",(get_pcvar_num(amx_ok_bb_cap)))
				g_bhealth[victimid] -= healthloss
				g_bhealth[killerid] = (get_pcvar_num(amx_ok_bb_cap))
				client_print(victimid,print_chat,"[OK] (%d) -%d blood.",g_bhealth[victimid],healthloss)
				DisplayHud(victimid)
				DisplayHud(killerid)
			}
		}
	}
__________________
+|- KARMA Respectively

HLM is offline
 



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:38.


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