AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_user_health (https://forums.alliedmods.net/showthread.php?t=11366)

VarmVaffel 03-17-2005 11:51

set_user_health
 
Is it possible to set the users health to say 1000 hp but make the health bar display something else?

- VV

Twilight Suzuka 03-17-2005 13:38

Setting someone's health to over 200 causes it to start counting from 0 again.

VarmVaffel 03-17-2005 13:44

thanks :)

TotalNoobScripter 03-17-2005 16:41

Quote:

Originally Posted by Twilight Suzuka
Setting someone's health to over 200 causes it to start counting from 0 again.

isnt it 255?

Twilight Suzuka 03-17-2005 16:53

Probably.

XxAvalanchexX 03-17-2005 21:52

Re: set_user_health
 
Quote:

Originally Posted by VarmVaffel
Is it possible to set the users health to say 1000 hp but make the health bar display something else?

Yes. Use set_user_health to set it internally and then send the Health message to make it appear differently on their HUD. However, 255 is the highest it can display on the HUD.


All times are GMT -4. The time now is 14:12.

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