Raised This Month: $ Target: $400
 0% 

Request: es_addhealth


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tseven
New Member
Join Date: May 2005
Old 05-22-2005 , 10:30   Request: es_addhealth
Reply With Quote #1

I see this function is possible, as it it used in the knife syphon and the newbhelper addon.

Please add this function to evenscripts.


Thanks,
tseven
tseven is offline
Anatol
New Member
Join Date: May 2005
Old 05-22-2005 , 12:27  
Reply With Quote #2

you can just as well code that yourself. i did that for a regeneration feature ;)

Code:
es_setinfo TempVarHp 0  //set a temporary variable
es_setinfo TempVarHp event_var(es_userhealth)   //set it to users current hp
es_math TempVarHp + amound_to_add   //calculate new health
es nm_health event_var(es_username) server_var(TempVarHp)   // set users health to new health
Oh one thing i forgot to mention of course you need NemoD for that, though i hope mani will get some sort of health set function soon.
Anatol is offline
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 05-22-2005 , 14:29  
Reply With Quote #3

Yeah, there are functions in ES to get vars. How about now a way to directly change them?
__________________
ichthys is offline
Mattie
Veteran Member
Join Date: Jan 2005
Old 05-22-2005 , 16:04  
Reply With Quote #4

Quote:
Originally Posted by ichthys
Yeah, there are functions in ES to get vars. How about now a way to directly change them?
I'd rather EventScripts didn't get involved in changing this sort of thing. The other Admin plugins are good for that, right?

-Mattie
Mattie is offline
ichthys
Veteran Member
Join Date: Dec 2004
Location: []*[]
Old 05-22-2005 , 19:29  
Reply With Quote #5

Well some do this, some do that, some annouce it, some dont. It would be a great feature but never the less, something we can do without.
__________________
ichthys is offline
ztaky
Member
Join Date: Mar 2005
Location: Hungary
Old 05-23-2005 , 08:41  
Reply With Quote #6

Hi Mattie!

The best thing for me would be to have only on plugin for our servers. Now we have Mani, ES, Newbie, Statsme, Nemod
Currently we will uninstall Nemod, as we are using only one function, what was just implemented in MANI.

So to be honest, I would prefer to include that function in ES!
__________________
Taki
http://www.smalla.hu
CS:S servers: pub.smalla.hu:27015 & 27014

ztaky is offline
Send a message via MSN to ztaky
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:18.


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