Raised This Month: $ Target: $400
 0% 

[L4D2] Change Survivor Max Health


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-28-2021 , 10:29   [L4D2] Change Survivor Max Health
Reply With Quote #1

A way to change with how much HP survivors start?

Last edited by Hawkins; 09-28-2021 at 10:30.
Hawkins is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-28-2021 , 11:30   Re: [L4D2] Change Survivor Max Health
Reply With Quote #2

This is how to set the max hp, but AFAIK there is some other hacks that you need to do aswell.
Also temp health (the one from pills/incap) is another property.

PHP Code:
int maxHP 9999;
SetEntProp(clientProp_Data"m_iMaxHealth"9999); 
__________________
Marttt is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-28-2021 , 12:04   Re: [L4D2] Change Survivor Max Health
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
This is how to set the max hp, but AFAIK there is some other hacks that you need to do aswell.
Also temp health (the one from pills/incap) is another property.

PHP Code:
int maxHP 9999;
SetEntProp(clientProp_Data"m_iMaxHealth"9999); 
Creating a plugin with this lines of code? Or typing into console? Sorry im unexperienced with coding

Found this thread but it has exploits to restore health by joining spec and returning to survivor team:
https://forums.alliedmods.net/showth...02#post2759102

Last edited by Hawkins; 09-28-2021 at 12:05.
Hawkins is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-28-2021 , 12:38   Re: [L4D2] Change Survivor Max Health
Reply With Quote #4

This is a plugin code snippet.
I don't know if there is any plugin that already does that.
Some servers already do that for VIP/Perk system.

Maybe someone else can help. I don't have much time nowadays
__________________

Last edited by Marttt; 09-28-2021 at 12:38.
Marttt is offline
ricksfishin
Senior Member
Join Date: Oct 2017
Old 09-29-2021 , 19:42   Re: [L4D2] Change Survivor Max Health
Reply With Quote #5

Could try this works on start health.
https://forums.alliedmods.net/showth...t+start+health
ricksfishin 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 13:58.


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