Raised This Month: $ Target: $400
 0% 

Health handicap for uber players.


Post New Thread Reply   
 
Thread Tools Display Modes
DahVid
Senior Member
Join Date: Jun 2005
Old 07-21-2005 , 16:04  
Reply With Quote #11

Ok, try now.
DahVid is offline
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 07-21-2005 , 18:37  
Reply With Quote #12

Doesn't work now, either =/
Cryonic is offline
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 07-21-2005 , 20:01  
Reply With Quote #13

There is a missing line in the code, at:

Code:
public poop() {
	new players[32],num,i
	for(i = 0; i <= num; i++) {
Add so it is:

Code:
public poop() {
	new players[32],num,i
   get_players(players,num)
	for(i = 0; i <= num; i++) {
This is in the Wrong order:

Code:
				set_user_health(id,115)
				client_print(id,print_chat,"Due to your inability to own you have gained more health.")
			}
			if(frags < (deaths/1.5)) {
				set_user_health(id,110)
				client_print(id,print_chat,"Due to your inability to own you have gained more health.")
			}
			if(frags < (deaths)) {
				set_user_health(id,105)
				client_print(id,print_chat,"Due to your inability to own you have gained more health.")
			}
Change it to the 115 first and the 105 first.

When I changed this things the plugin was brilliant. thx!
Cryonic is offline
DahVid
Senior Member
Join Date: Jun 2005
Old 07-21-2005 , 21:08  
Reply With Quote #14

haha thanks.. fixed it.
DahVid 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 19:58.


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