AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   amx_heal in amx_super50 (https://forums.alliedmods.net/showthread.php?t=165896)

FOUTA 08-28-2011 11:17

amx_heal in amx_super50
 
i was reading https://github.com/bmann420/AMX-Supe...uper50-fun.sma and saw this:
Code:

- amx_heal set health instead of adding it to current health.
but when i put the plugin and did amx_heal fouta 50, my health became 150 not 50

isn't it suppose to set the amount of health?? not add it??
or i got this wrong?
correct if im wrong

kp3t3h 08-28-2011 14:45

Re: amx_heal in amx_super50
 
it would better be 2 commands
amx_heal add hp to current (if i have 100 and type amx_heal ME 50 i have 150)
and second
amx_health or amx_hp to set ammount of hp (if i have 100 and type amx_hp 50 i should now have 50 hp)

FOUTA 08-28-2011 15:22

Re: amx_heal in amx_super50
 
Quote:

Originally Posted by kp3t3h (Post 1542784)
it would better be 2 commands
amx_heal add hp to current (if i have 100 and type amx_heal ME 50 i have 150)
and second
amx_health or amx_hp to set ammount of hp (if i have 100 and type amx_hp 50 i should now have 50 hp)

exactly :D

DarkGod 08-29-2011 02:39

Re: amx_heal in amx_super50
 
Setting should be enough, though the name will be a bit misleading.

FOUTA 09-01-2011 14:12

Re: amx_heal in amx_super50
 
i don't understand, will it be setting the health of a player or adding heath??

DarkGod 09-01-2011 16:39

Re: amx_heal in amx_super50
 
It will be setting.

kp3t3h 09-01-2011 16:58

Re: amx_heal in amx_super50
 
like i said it would be much better if it is
amx_heal - add hp
amx_hp - set hp

this is my opinion

DarkGod 09-01-2011 17:35

Re: amx_heal in amx_super50
 
There's no point for both when you can do the same with them.

kp3t3h 09-01-2011 18:56

Re: amx_heal in amx_super50
 
well, it loses its meaning if it sets hp instead of adding

DarkGod 09-01-2011 19:09

Re: amx_heal in amx_super50
 
That's what I said in my first post. :p


All times are GMT -4. The time now is 19:28.

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