AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Set Health (https://forums.alliedmods.net/showthread.php?t=73994)

RonanZer0 08-23-2012 21:37

Re: Set Health
 
how do i set my health to 2500 exactly without it degrading unless im taking damage?
they managed to make the sentry buster have that much so yeah... idk why it wont work for players without overheal...

LATINOBOY 03-23-2013 01:47

Re: Set Health
 
In CSS i cant seem to set health to One side of the team. Example:
sm_sethealth @CT 100

Seth.D 03-26-2013 04:47

Re: Set Health
 
This plugin is amazing, but I would like a command to reset the health of a player to the maximum of whatever health his/her class typically has (in TF2).

Example: I'm playing as Scout and I gave myself 2000 health. I want to reset my health back to normal so I just use the command and it will set me back to 125 health (Scout's default health if I remember correctly). If I use it for Heavy it would set me back to 300 health instead.

Bonus points if you are able to make it account for max health changing items (like Sandman, Warrior's Spirit, Eyelander).

I hope I'm not being too unreasonable with this, it's just a suggestion. I already greatly appreciate your plugin as it is and you don't have to add this at all if you don't want to. Many thanks! :D

logitech69 04-09-2013 13:59

Re: Set Health
 
Works good but I'm having trouble trying to access this from my "sm_admin" menu. I already did the following to my sourcemods/config/adminmenu_custom.txt :

// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Ad...28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//

"Commands"
{
"Resupply"
{
"Give Health"
{
"cmd" "sm_givehealth #1 #2"
"admin" "sm_givehealth"
"execute" "player"
"1"
{
"type" "player"
"method" "name"
"title" "Player To Heal:"

}
"2"
{
"type" "list"
"title" "Amount of Health:"
"1" "50"
"2" "100"
"3" "150"
"4" "200"
"5" "250"
"6" "300"
}

}
}
}

I get the all of the menus when I enter "sm_admin", and I see "Resupply, Get Health, all the player's names, and the amount, BUT, it doesn't actually give me health.

What am I doing wrong?

TIA!


phit 06-09-2013 14:09

Re: Set Health
 
Quote:

Originally Posted by logitech69 (Post 1929521)
"Commands"
{
"Resupply"
{
"Give Health"
{
"cmd" "sm_givehealth #1 #2"
"admin" "sm_givehealth"
"execute" "player"
"1"
{
"type" "player"
"method" "name"
"title" "Player To Heal:"

}
"2"
{
"type" "list"
"title" "Amount of Health:"
"1" "50"
"2" "100"
"3" "150"
"4" "200"
"5" "250"
"6" "300"
}

}
}
}

I get the all of the menus when I enter "sm_admin", and I see "Resupply, Get Health, all the player's names, and the amount, BUT, it doesn't actually give me health.

the command is sm_sethealth and not sm_givehealth :wink:

kot4404 07-30-2014 05:39

Re: Set Health
 
It works for l4d2 :)

alencore 12-08-2014 02:12

Re: Set Health
 
yeah it works but how to make it auto load the health without the need of running the commands over and ver again for each round start in CSS?

predaaator 02-09-2015 10:57

Re: Set Health
 
Quote:

Originally Posted by alencore (Post 2232416)
yeah it works but how to make it auto load the health without the need of running the commands over and ver again for each round start in CSS?

I use this plug my friend
https://forums.alliedmods.net/showthread.php?p=590466

Linkaton 06-19-2016 05:04

Re: Set Health
 
This works for TF2 however is there any possible option for set max health?
I do set health however it steadily drains over time. Trying to do set max health doesn't do anything.


All times are GMT -4. The time now is 10:31.

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