Raised This Month: $51 Target: $400
 12% 

API Scripting Help maxhealth


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 12-20-2011 , 10:40   maxhealth
Reply With Quote #1

for stable version 5.0 is there native for zp_get_zombie_maxhealth( 4.3 )
zombieplague is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 12-20-2011 , 11:42   Re: maxhealth
Reply With Quote #2

PHP Code:
/**
 * Returns the default maximum health for a specific zombie class.
 *
 * Note: does not take into account any kind of HP multipliers.
 *
 * @param id        Player index.
 * @param classid    A valid zombie class ID.
 * @return            Maximum amount of health points, -1 on error.
 */
native zp_class_zombie_get_max_health(idclassid
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
zombieplague
Veteran Member
Join Date: Apr 2009
Old 12-20-2011 , 14:10   Re: maxhealth
Reply With Quote #3

Quote:
Originally Posted by JoKeR LauGh View Post
PHP Code:
/**
 * Returns the default maximum health for a specific zombie class.
 *
 * Note: does not take into account any kind of HP multipliers.
 *
 * @param id        Player index.
 * @param classid    A valid zombie class ID.
 * @return            Maximum amount of health points, -1 on error.
 */
native zp_class_zombie_get_max_health(idclassid
silly me ! thanks !
zombieplague 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 05:04.


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