Raised This Month: $ Target: $400
 0% 

[xp mod] How to add Hp and Armor after a player up a level?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kelvintse
New Member
Join Date: Jun 2005
Old 11-11-2005 , 08:59   [xp mod] How to add Hp and Armor after a player up a level?
Reply With Quote #1

I'm making a XP mod
How to add max health and armor after the player up a level
kelvintse is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 11-11-2005 , 09:15  
Reply With Quote #2

Index is the player slot of the person, and amount is the amount to add(replace it with a number)
Code:
new health = get_user_health(index),armor = get_user_armor(index)  set_user_health(index,health + amount)  set_user_armor(index,armor + amount)
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
DarlD
Senior Member
Join Date: Aug 2004
Old 11-12-2005 , 13:06  
Reply With Quote #3

you need the fun module
__________________
DarlD is offline
Send a message via MSN to DarlD
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 23:44.


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