how to set heal points ???
Code:
#include <amxmodx> |
Re: heal
Read the Function Wiki for usage on commands
http://amxmodx.org/funcwiki.php?sear...alth&go=search As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again. |
Re: how to set heal points ???
Thanks for helping :). +karma :D
|
Re: how to set heal points ???
And how to set cost ?? For example when I type "/heal" I get 75hp and I lost 5000$. :)
|
Re: how to set heal points ???
Use the FuncWiki and look for a function that deals with money or use the forum search feature
|
Re: how to set heal points ???
PHP Code:
|
Re: how to set heal points ???
@xpaw
iHeath is an integer, I think you need to convert it to float for set_pev. Also, you check for 75 but add 100. |
Re: how to set heal points ???
You could also make it so the full $5000 is not spent if the user doesn't utilize the full 75 of health.
PHP Code:
|
Re: how to set heal points ???
new Float:fHealth = pev(id, pev_health);
|
Re: how to set heal points ???
t3h right :]
|
| All times are GMT -4. The time now is 17:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.