[TF2] Health Bar for Spec
One of the Gun Mettle Updated:
Code:
Added teammate player glow outlines, names, and health bars for spectators |
Re: [TF2] Health Bar for Spec
tf_spawn_glows_duration 9999999999
|
Re: [TF2] Health Bar for Spec
An other way is to add the condition 114 with duration -1 on the player. It will show to him teammates's healthbar.
Actually this condition isn't added in the tf2.inc file, but we can use it with Code:
|
Re: [TF2] Health Bar for Spec
Quote:
|
Re: [TF2] Health Bar for Spec
Quote:
But I made pull request on Git-Hub https://github.com/alliedmodders/sourcemod/pull/474 So maybe its name will be TFCond_SpawnOutline. But for now you have to use it like that: Code:
|
Re: [TF2] Health Bar for Spec
Quote:
|
Re: [TF2] Health Bar for Spec
view_as basically tells the compiler to treat a value as a specific type. In this case, treat an integer as TFCond. AFAIK, TF2_AddCondition(client, 114); will work too, but there will be a warning in the compile log.
|
| All times are GMT -4. The time now is 21:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.